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