Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-06-25 20:11:51 +0300
committerClément Bœsch <u@pkh.me>2016-06-25 20:12:03 +0300
commite73ccfd6ad10d25862bc0b459519524ec5dfb2b1 (patch)
treeb3434d81949949322183419b879803f900a8f0d1 /libavfilter/vf_subtitles.c
parentee2a8f142b518e09dbef011db2026cf8a5bb8817 (diff)
lavfi/subtitles: fix memleak after 6bcb1e1a
Spotted-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_subtitles.c')
-rw-r--r--libavfilter/vf_subtitles.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index 5c3cffbe80..c7c82b75c6 100644
--- a/libavfilter/vf_subtitles.c
+++ b/libavfilter/vf_subtitles.c
@@ -478,6 +478,7 @@ end:
av_dict_free(&codec_opts);
if (dec_ctx)
avcodec_close(dec_ctx);
+ avcodec_free_context(&dec_ctx);
if (fmt)
avformat_close_input(&fmt);
return ret;