Silence warning caused by my last commit
authorVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:07:29 +0000 (20:07 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:07:29 +0000 (20:07 +0000)
Commited in SoC by Vitor Sessak on 2007-10-30 21:15:19

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

libavfilter/avfiltergraph.c

index 0a0108e..8182c85 100644 (file)
@@ -446,7 +446,7 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque)
     av_log(NULL, AV_LOG_INFO, "creating filter \"%s\" with args \"%s\"\n",
            name, args ? args : "(none)");
 
-    if(ret = avfilter_open(avfilter_get_by_name(name), NULL)) {
+    if((ret = avfilter_open(avfilter_get_by_name(name), NULL))) {
         if(avfilter_init_filter(ret, args, opaque)) {
             av_log(NULL, AV_LOG_ERROR, "error initializing filter!\n");
             avfilter_destroy(ret);