You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
af_hdcd: av_frame_free(out) if av_frame_copy_props() fails
Signed-off-by: Burt P <pburt0@gmail.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user