[FFmpeg-cvslog] avfilter/vf_guided: Don't free frame we don't own
Andreas Rheinhardt
git at videolan.org
Sun May 23 15:10:35 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri May 14 10:34:41 2021 +0200| [618d186b8c2bdb42cdbc722be42ab9efb1f7cdd1] | committer: Andreas Rheinhardt
avfilter/vf_guided: Don't free frame we don't own
Reviewed-by: Steven Liu <lq at chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=618d186b8c2bdb42cdbc722be42ab9efb1f7cdd1
---
libavfilter/vf_guided.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index 95b2c52f3a..b0adf75886 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -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);
More information about the ffmpeg-cvslog
mailing list