diff options
author | Burt P <pburt0@gmail.com> | 2016-08-25 17:05:39 -0500 |
---|---|---|
committer | Burt P <pburt0@gmail.com> | 2016-08-25 17:12:16 -0500 |
commit | ec220a8c1ca5135681ae9a9bc8c4532ce67eea44 (patch) | |
tree | 55283b1e329d16fc23a6657aaa1aedd8808ea333 /libavfilter/af_hdcd.c | |
parent | 9d5e3c3f59aa0bd3e38a5e209cc8cf8b844f99da (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.c | 1 |
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; } |