diff options
author | Andreas Rheinhardt <[email protected]> | 2019-10-24 15:36:35 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2020-07-03 16:17:40 +0200 |
commit | a86137e6e8ebfaeb9c01f52a2edb9aef71909040 (patch) | |
tree | 0cc08b03026e26a413af6926a618fc60f0264bfc | |
parent | 0b18f8024194ffd898512ca0ed1479ff28486df1 (diff) |
fftools/ffmpeg: Free swresample dictionary during cleanup
Freeing this was forgotten in ad899522.
Fixes #8315 and #8316.
Signed-off-by: Andreas Rheinhardt <[email protected]>
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 6f2a3958cfac135c60b509a61a4fd39432d8f9a9)
Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -529,6 +529,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); |