You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/video: fix shadowed variable
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
42f1be4461
commit
303ddab7ea
@@ -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;
|
||||||
|
Reference in New Issue
Block a user