From ec220a8c1ca5135681ae9a9bc8c4532ce67eea44 Mon Sep 17 00:00:00 2001 From: Burt P Date: Thu, 25 Aug 2016 17:05:39 -0500 Subject: [PATCH] af_hdcd: av_frame_free(out) if av_frame_copy_props() fails Signed-off-by: Burt P --- libavfilter/af_hdcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index 0360bc9971..0272305b23 100644 --- a/libavfilter/af_hdcd.c +++ b/libavfilter/af_hdcd.c @@ -1655,6 +1655,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) } result = av_frame_copy_props(out, in); if (result) { + av_frame_free(&out); av_frame_free(&in); return result; }