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:
Andreas Rheinhardt 2021-05-14 10:34:41 +02:00
parent 4c0d6c91f6
commit 618d186b8c
1 changed files with 0 additions and 1 deletions

View File

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