mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
lavfi/scale: remove unused variable out_link
Fix warning: libavfilter/vf_scale.c: In function ‘start_frame’: libavfilter/vf_scale.c:284:23: warning: unused variable ‘out_link’ [-Wunused-variable]
This commit is contained in:
parent
c0b3c0ffb7
commit
cb08b6efc9
@ -281,7 +281,6 @@ static void start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
|
||||
if( picref->video->w != link->w
|
||||
|| picref->video->h != link->h
|
||||
|| picref->format != link->format) {
|
||||
AVFilterLink *out_link;
|
||||
int ret;
|
||||
snprintf(scale->w_expr, sizeof(scale->w_expr)-1, "%d", outlink->w);
|
||||
snprintf(scale->h_expr, sizeof(scale->h_expr)-1, "%d", outlink->h);
|
||||
|
Loading…
Reference in New Issue
Block a user