Commit ec220a8c authored by Burt P's avatar Burt P

af_hdcd: av_frame_free(out) if av_frame_copy_props() fails

Signed-off-by: 's avatarBurt P <pburt0@gmail.com>
parent 9d5e3c3f
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment