af_hdcd: av_frame_free(out) if av_frame_copy_props() fails

Signed-off-by: Burt P <pburt0@gmail.com>
pull/230/head
Burt P 8 years ago
parent 9d5e3c3f59
commit ec220a8c1c
  1. 1
      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;
}

Loading…
Cancel
Save