[FFmpeg-cvslog] r12049 - trunk/libavfilter/avfilter.c

vitor subversion
Fri Feb 15 22:41:08 CET 2008


Author: vitor
Date: Fri Feb 15 22:41:08 2008
New Revision: 12049

Log:
Remove unused var (dead code leftover?).
Commited in SoC by Vitor Sessak on 2008-02-10 09:55:55


Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	(original)
+++ trunk/libavfilter/avfilter.c	Fri Feb 15 22:41:08 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-cvslog mailing list