[FFmpeg-cvslog] r12050 - trunk/libavfilter/avfilter.c

vitor subversion
Fri Feb 15 22:41:11 CET 2008


Author: vitor
Date: Fri Feb 15 22:41:11 2008
New Revision: 12050

Log:
Do not always fail for circular filter chains
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54


Modified:
   trunk/libavfilter/avfilter.c

Modified: trunk/libavfilter/avfilter.c
==============================================================================
--- trunk/libavfilter/avfilter.c	(original)
+++ trunk/libavfilter/avfilter.c	Fri Feb 15 22:41:11 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-cvslog mailing list