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-01 22:33:24 +0200 |
commit | d2b434001fb73bb6b5ee4fb3180d8a57c788395b (patch) | |
tree | 7727cadaa66271bec1ce94778bfbf354aab32bce | |
parent | 63383aaf535aa0f29715b3a4f5abfdbcdb70bc41 (diff) | |
download | ffmpeg-d2b434001fb73bb6b5ee4fb3180d8a57c788395b.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-- | fftools/ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index f502961196..c743a2a6fa 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -567,6 +567,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); |