1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avfilter/video: fix shadowed variable

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Zhao Zhili
2022-03-10 14:53:38 +08:00
committed by Anton Khirnov
parent 42f1be4461
commit 303ddab7ea

View File

@@ -50,7 +50,7 @@ AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int w, int h)
if (link->hw_frames_ctx && if (link->hw_frames_ctx &&
((AVHWFramesContext*)link->hw_frames_ctx->data)->format == link->format) { ((AVHWFramesContext*)link->hw_frames_ctx->data)->format == link->format) {
int ret; int ret;
AVFrame *frame = av_frame_alloc(); frame = av_frame_alloc();
if (!frame) if (!frame)
return NULL; return NULL;