aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/utils.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-16 13:47:56 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-10-19 21:36:57 +0200
commit8d4431955ccca80933a837e1bc7f44679039335b (patch)
tree44fef95d7f7360e2d29e1de468914a66f2baa7b3 /libswscale/utils.c
parent56b3726ed2ac89df31a939a8f5f00fa66a0ad2ed (diff)
downloadffmpeg-8d4431955ccca80933a837e1bc7f44679039335b.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>
Diffstat (limited to 'libswscale/utils.c')
0 files changed, 0 insertions, 0 deletions