Avoid hang with -af-adv force=3

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16073 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-07-23 16:58:25 +00:00
parent 9fde502c50
commit 2066463ec5
1 changed files with 5 additions and 0 deletions

View File

@ -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