---
 libavfilter/video.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/video.c b/libavfilter/video.c
index fa3d588044..b2f0cdf88a 100644
--- a/libavfilter/video.c
+++ b/libavfilter/video.c
@@ -50,7 +50,7 @@ AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int 
w, int h)
     if (link->hw_frames_ctx &&
         ((AVHWFramesContext*)link->hw_frames_ctx->data)->format == 
link->format) {
         int ret;
-        AVFrame *frame = av_frame_alloc();
+        frame = av_frame_alloc();
 
         if (!frame)
             return NULL;
-- 
2.31.1

_______________________________________________
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