diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-16 16:33:23 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:58 +0100 |
commit | 0f70a8ae192999c751a75e634fca027af3cb4955 (patch) | |
tree | 01b7b3e0526ddb9f8b5278f5c20fea5e766543a2 /libavdevice | |
parent | f4d7dba3ce72344e8f2c6ea3293249df6127de00 (diff) | |
download | ffmpeg-0f70a8ae192999c751a75e634fca027af3cb4955.tar.gz |
avcodec/movtextenc: Don't presume every style to have a font
Fixes segfaults in the absence of fonts; this can happen because the
file didn't contain any or because the allocation of the font-string
failed.
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 0dd7b8232d38317abc195edc48434ac1fd3e80fd)
Diffstat (limited to 'libavdevice')
0 files changed, 0 insertions, 0 deletions