diff options
author | Oneric <oneric@oneric.stub> | 2020-10-12 22:47:03 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-27 01:03:04 +0200 |
commit | add83539899242bf8ddbbac28fe2fde17c4c0bce (patch) | |
tree | 00bf060a38f5af2fc1d1e582cf5725ec219c4ceb /libass/ass_priv.h | |
parent | 68a77d1f50ce40aca6e034b5fb46a54321f9fb77 (diff) | |
download | libass-add83539899242bf8ddbbac28fe2fde17c4c0bce.tar.bz2 libass-add83539899242bf8ddbbac28fe2fde17c4c0bce.tar.xz |
Allocate and set default style directly at track creation
This way we can ensure that there's always one style in the track (which
some parts of the code already assume) and that this style is actually
valid.
If the style alloc fails, the whole track alloc will fail and we're
likely seriously short on memory anyway
Diffstat (limited to 'libass/ass_priv.h')
0 files changed, 0 insertions, 0 deletions