[FFmpeg-cvslog] lavfi/scale: remove unused variable out_link

Stefano Sabatini git at videolan.org
Thu Jun 21 12:49:03 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Thu Jun 21 11:55:09 2012 +0200| [cb08b6efc90b95c2200ca66850c1ec3b95df34be] | committer: Stefano Sabatini

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]

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb08b6efc90b95c2200ca66850c1ec3b95df34be
---

 libavfilter/vf_scale.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 184de0f..b7d79a3 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -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);



More information about the ffmpeg-cvslog mailing list