ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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 <l...@chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@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);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to