diff options
author | Oneric <oneric@oneric.stub> | 2020-10-13 03:14:28 +0200 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2020-10-27 01:03:04 +0200 |
commit | 324c75fb6972d42b707aa17edc38b9943ae966bd (patch) | |
tree | eaef1422060382a950650ba99fb4f94cbb81c33d /libass/ass_render.c | |
parent | 660024f12e33b1e7b5df377ddf2c5ecb3609ebb7 (diff) | |
download | libass-324c75fb6972d42b707aa17edc38b9943ae966bd.tar.bz2 libass-324c75fb6972d42b707aa17edc38b9943ae966bd.tar.xz |
Check for strdup_failures in process_style
We can't parse the style without a valid style_format.
If strdup for FontName or Name or there fallback values fails,
the style is of no use, so discard it. As the removal happens before any
other styles are added, just decreasing n_styles is safe here.
Diffstat (limited to 'libass/ass_render.c')
0 files changed, 0 insertions, 0 deletions