aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2008-02-15 21:41:11 +0000
committerVitor Sessak <vitor1001@gmail.com>2008-02-15 21:41:11 +0000
commit7a9fd2a03cf224fd37e0c109d95886f114d1330f (patch)
tree3f7fa3e4f08c0e4fa229f629d67dce3b156ade1a /libavfilter
parent5b7c4033536926ccde181ec71d3cab2f71c14d08 (diff)
downloadffmpeg-7a9fd2a03cf224fd37e0c109d95886f114d1330f.tar.gz
Do not always fail for circular filter chains
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54 Originally committed as revision 12050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index d431258135..3a89fc655d 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -132,8 +132,8 @@ int avfilter_config_links(AVFilterContext *filter)
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;