From 5b7c4033536926ccde181ec71d3cab2f71c14d08 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 15 Feb 2008 21:41:08 +0000 Subject: [PATCH] Remove unused var (dead code leftover?). 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 28fc39e568..d431258135 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -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);