summaryrefslogtreecommitdiffstats
path: root/libass/ass_func_template.h
diff options
context:
space:
mode:
authorOneric <oneric@oneric.stub>2020-10-12 22:47:03 +0200
committerOleg Oshmyan <chortos@inbox.lv>2020-10-27 01:03:04 +0200
commitadd83539899242bf8ddbbac28fe2fde17c4c0bce (patch)
tree00bf060a38f5af2fc1d1e582cf5725ec219c4ceb /libass/ass_func_template.h
parent68a77d1f50ce40aca6e034b5fb46a54321f9fb77 (diff)
downloadlibass-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_func_template.h')
0 files changed, 0 insertions, 0 deletions