diff options
author | Zhao Zhili <quinkblack@foxmail.com> | 2022-03-10 14:53:38 +0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-03-22 18:49:30 +0100 |
commit | 303ddab7eaf88a1dca6c3d1b1b89afa6d9905a7e (patch) | |
tree | d00af8d1bb1e6500d99c39e12b8d71117b8051ee /libavfilter/video.c | |
parent | 42f1be446179f8ceb505010cac24358eea30843f (diff) |
avfilter/video: fix shadowed variable
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/video.c')
-rw-r--r-- | libavfilter/video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |