summaryrefslogtreecommitdiff
path: root/libavfilter/avfiltergraph.c
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:38 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-04-04 20:09:38 +0000
commite1a43a414677258b1e01d3f9a8f40bfc74be4223 (patch)
tree70dd353215fc59a6251e1d280e53a6b1e3f683bb /libavfilter/avfiltergraph.c
parenta10477173ab74b2c6e4da88bdede83a8e3b753ef (diff)
Remove unused check
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
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index ef2a78cb44..4449bfe545 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -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];