[FFmpeg-soc] [soc]: r1886 - libavfilter/avfilter.c

vitor subversion at mplayerhq.hu
Sun Feb 10 10:55:55 CET 2008


Author: vitor
Date: Sun Feb 10 10:55:55 2008
New Revision: 1886

Log:
Remove unused var (dead code leftover?).

Modified:
   libavfilter/avfilter.c

Modified: libavfilter/avfilter.c
==============================================================================
--- libavfilter/avfilter.c	(original)
+++ libavfilter/avfilter.c	Sun Feb 10 10:55:55 2008
@@ -94,8 +94,6 @@ int avfilter_link(AVFilterContext *src, 
 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 
 
     /* 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);
 



More information about the FFmpeg-soc mailing list