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:
authorBurt P <pburt0@gmail.com>2016-08-26 01:05:39 +0300
committerBurt P <pburt0@gmail.com>2016-08-26 01:12:16 +0300
commitec220a8c1ca5135681ae9a9bc8c4532ce67eea44 (patch)
tree55283b1e329d16fc23a6657aaa1aedd8808ea333 /libavfilter/af_hdcd.c
parent9d5e3c3f59aa0bd3e38a5e209cc8cf8b844f99da (diff)
af_hdcd: av_frame_free(out) if av_frame_copy_props() fails
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'libavfilter/af_hdcd.c')
-rw-r--r--libavfilter/af_hdcd.c1
1 files changed, 1 insertions, 0 deletions
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;
}