[FFmpeg-soc] [soc]: r1887 - libavfilter/avfilter.c

vitor subversion at mplayerhq.hu
Sun Feb 10 17:52:58 CET 2008


Author: vitor
Date: Sun Feb 10 17:52:54 2008
New Revision: 1887

Log:
Do not always fail for circular filter chains

Modified:
   libavfilter/avfilter.c

Modified: libavfilter/avfilter.c
==============================================================================
--- libavfilter/avfilter.c	(original)
+++ libavfilter/avfilter.c	Sun Feb 10 17:52:54 2008
@@ -132,8 +132,8 @@ int avfilter_config_links(AVFilterContex
         case AVLINK_INIT:
             continue;
         case AVLINK_STARTINIT:
-            av_log(filter, AV_LOG_ERROR, "circular filter chain detected\n");
-            return -1;
+            av_log(filter, AV_LOG_INFO, "circular filter chain detected\n");
+            return 0;
         case AVLINK_UNINIT:
             link->init_state = AVLINK_STARTINIT;
 



More information about the FFmpeg-soc mailing list