diff options
author | Andreas Rheinhardt <[email protected]> | 2020-10-16 13:47:56 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2021-02-27 07:20:58 +0100 |
commit | f4d7dba3ce72344e8f2c6ea3293249df6127de00 (patch) | |
tree | e2f003b1b7c9cb8c7f5898c48cf22198bf36aec6 /libavutil/avstring.h | |
parent | bb8d18a39bee5dba0137c22f1f1fcec2254c4bc7 (diff) |
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 <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
(cherry picked from commit 8d4431955ccca80933a837e1bc7f44679039335b)
Diffstat (limited to 'libavutil/avstring.h')
0 files changed, 0 insertions, 0 deletions