mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-28 17:51:05 +00:00
avfilter/video: fix shadowed variable
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
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 &&
|
||||
((AVHWFramesContext*)link->hw_frames_ctx->data)->format == link->format) {
|
||||
int ret;
|
||||
AVFrame *frame = av_frame_alloc();
|
||||
frame = av_frame_alloc();
|
||||
|
||||
if (!frame)
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user