Remove unused check
authorVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:09:38 +0000 (20:09 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:09:38 +0000 (20:09 +0000)
Commited in SoC by Vitor Sessak on 2008-04-03 16:38:51

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

libavfilter/avfiltergraph.c

index ef2a78cb443c64ec076ca74ce40028d3df405e7e..4449bfe54548e7dfaf264aa5cead49c3389e752b 100644 (file)
@@ -44,9 +44,6 @@ AVFilterContext *avfilter_graph_get_filter(AVFilterGraph *graph, char *name)
 {
     int i;
 
-    if(!name)
-        return NULL;
-
     for(i = 0; i < graph->filter_count; i ++)
         if(graph->filters[i]->name && !strcmp(name, graph->filters[i]->name))
             return graph->filters[i];