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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Kelleher <wkelleher@gogoair.com>2016-04-07 16:58:31 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2016-05-15 02:30:53 +0300
commit964f07f68e1cc4e2d585615e2b1a1fade269afb0 (patch)
tree5a04e3ce7977e8bf132cd94cc44ad4758cdfd621 /libavcodec/hevc.c
parent6543a72fcefca574691a65ba7b80c1f190eaba1e (diff)
hevc: Fix memory leak related to a53_caption data
Signed-off-by: Will Kelleher <wkelleher@gogoair.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/hevc.c')
-rw-r--r--libavcodec/hevc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index d1aa0b06d0..b478065db2 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -3155,6 +3155,8 @@ static av_cold int hevc_init_context(AVCodecContext *avctx)
s->context_initialized = 1;
s->eos = 0;
+ ff_hevc_reset_sei(s);
+
return 0;
fail: