diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-10-16 13:47:56 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:58 +0100 |
commit | f4d7dba3ce72344e8f2c6ea3293249df6127de00 (patch) | |
tree | e2f003b1b7c9cb8c7f5898c48cf22198bf36aec6 /libavutil/parseutils.c | |
parent | bb8d18a39bee5dba0137c22f1f1fcec2254c4bc7 (diff) | |
download | ffmpeg-f4d7dba3ce72344e8f2c6ea3293249df6127de00.tar.gz |
avcodec/movtextenc: Reset array counter after freeing array
Otherwise the mov_text encoder can segfault when given subtitles with more
than one AVSubtitleRect if one of the first nb_rects - 1 rects contained
a style attribute.
Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 8d4431955ccca80933a837e1bc7f44679039335b)
Diffstat (limited to 'libavutil/parseutils.c')
0 files changed, 0 insertions, 0 deletions