diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-10-24 15:36:35 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-07-03 14:13:50 +0200 |
commit | 25a0887c5a1d4e2cc4d84ddeabdfd7dc26a69786 (patch) | |
tree | bdb402eee387d2740ebe7a4ded820c976880904c | |
parent | e5655c04446614e54f2fdf1294cc4f6773d8f6a6 (diff) | |
download | ffmpeg-25a0887c5a1d4e2cc4d84ddeabdfd7dc26a69786.tar.gz |
fftools/ffmpeg: Free swresample dictionary during cleanup
Freeing this was forgotten in ad899522.
Fixes #8315 and #8316.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 6f2a3958cfac135c60b509a61a4fd39432d8f9a9)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -554,6 +554,7 @@ static void ffmpeg_cleanup(int ret) ost->audio_channels_mapped = 0; av_dict_free(&ost->sws_dict); + av_dict_free(&ost->swr_opts); avcodec_free_context(&ost->enc_ctx); avcodec_parameters_free(&ost->ref_par); |