mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_guided: Don't free frame we don't own
Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4c0d6c91f6
commit
618d186b8c
@ -319,7 +319,6 @@ static int process_frame(FFFrameSync *fs)
|
||||
out_frame = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
||||
if (!out_frame) {
|
||||
av_frame_free(&main_frame);
|
||||
av_frame_free(&ref_frame);
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
av_frame_copy_props(out_frame, main_frame);
|
||||
|
Loading…
Reference in New Issue
Block a user