lavfi/scale: remove unused variable out_link
authorStefano Sabatini <stefasab@gmail.com>
Thu, 21 Jun 2012 09:55:09 +0000 (11:55 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 21 Jun 2012 10:47:48 +0000 (12:47 +0200)
Fix warning:
libavfilter/vf_scale.c: In function ‘start_frame’:
libavfilter/vf_scale.c:284:23: warning: unused variable ‘out_link’ [-Wunused-variable]

libavfilter/vf_scale.c

index 184de0f..b7d79a3 100644 (file)
@@ -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);