Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavfilter/vf_guided.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c
index e7c689e7be..e10d397f2e 100644
--- a/libavfilter/vf_guided.c
+++ b/libavfilter/vf_guided.c
@@ -329,7 +329,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);
-- 
2.27.0

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

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

Reply via email to