Browse Source

af_hdcd: av_frame_free(out) if av_frame_copy_props() fails

Signed-off-by: Burt P <pburt0@gmail.com>
tags/n3.2
Burt P 8 years ago
parent
commit
ec220a8c1c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/af_hdcd.c

+ 1
- 0
libavfilter/af_hdcd.c View File

@@ -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