From 2066463ec5aa0491e7c87de4fb442dc767f48f49 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 23 Jul 2005 16:58:25 +0000 Subject: Avoid hang with -af-adv force=3 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libaf/af.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libaf/af.c') diff --git a/libaf/af.c b/libaf/af.c index ff11c413c5..e3f647d11c 100644 --- a/libaf/af.c +++ b/libaf/af.c @@ -294,6 +294,11 @@ int af_reinit(af_stream_t* s, af_instance_t* af) } af=new->next; } + else { + af_msg(AF_MSG_ERROR, "[libaf] Automatic filter insertion disabled " + "but formats do not match. Giving up.\n"); + return AF_ERROR; + } break; } case AF_DETACH:{ // Filter is redundant and wants to be unloaded -- cgit v1.2.3