Remove unused var (dead code leftover?).
authorVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:41:08 +0000 (21:41 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 15 Feb 2008 21:41:08 +0000 (21:41 +0000)
Commited in SoC by Vitor Sessak on 2008-02-10 09:55:55

Originally committed as revision 12049 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.c

index 28fc39e..d431258 100644 (file)
@@ -94,8 +94,6 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad,
 int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
                            unsigned in, unsigned out)
 {
-    AVFilterFormats *formats;
-
     av_log(link->dst, AV_LOG_INFO, "auto-inserting filter '%s'\n",
             filt->filter->name);
 
@@ -113,7 +111,7 @@ int avfilter_insert_filter(AVFilterLink *link, AVFilterContext *filt,
 
     /* if any information on supported colorspaces already exists on the
      * link, we need to preserve that */
-    if((formats = link->out_formats))
+    if(link->out_formats)
         avfilter_formats_changeref(&link->out_formats,
                                    &filt->outputs[out]->out_formats);