summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 86a0960242..1f4277c4c2 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -527,6 +527,8 @@ static void ffmpeg_cleanup(int ret)
av_freep(&ost->audio_channels_map);
ost->audio_channels_mapped = 0;
+ av_dict_free(&ost->sws_dict);
+
avcodec_free_context(&ost->enc_ctx);
av_freep(&output_streams[i]);