From e1a43a414677258b1e01d3f9a8f40bfc74be4223 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Fri, 4 Apr 2008 20:09:38 +0000 Subject: 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 --- libavfilter/avfiltergraph.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'libavfilter') 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]; -- cgit v1.2.3