mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter/vf_guided: Fix leak of frames
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
618d186b8c
commit
376e80ad74
@ -343,6 +343,7 @@ static int process_frame(FFFrameSync *fs)
|
||||
s->planewidth[plane], s->planeheight[plane],
|
||||
main_frame->linesize[plane] / 2, ref_frame->linesize[plane] / 2, out_frame->linesize[plane] / 2, (1 << s->depth) - 1.f);
|
||||
}
|
||||
av_frame_free(&main_frame);
|
||||
|
||||
return ff_filter_frame(outlink, out_frame);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user