]> git.sesse.net Git - ffmpeg/commit
avformat/movenc: Free old vos_data before overwriting it
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 28 Sep 2020 16:05:44 +0000 (18:05 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 4 Oct 2020 22:49:11 +0000 (00:49 +0200)
commit432f291dffb0079bf447b1cdb8802a022298510f
treec0952ddcb0e630f66d1b0a68a064b964fbbdaa26
parent0336bbf68a047854308e812fc21f45e00aff6ed0
avformat/movenc: Free old vos_data before overwriting it

Otherwise the old data leaks whenever extradata needs to be rewritten
(e.g. when encoding FLAC with our encoder that sends an updated
extradata packet at the end).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/movenc.c