diff --git a/audio/filter/af_lavcac3enc.c b/audio/filter/af_lavcac3enc.c index 02211a2a61..705431ca7d 100644 --- a/audio/filter/af_lavcac3enc.c +++ b/audio/filter/af_lavcac3enc.c @@ -74,7 +74,7 @@ static int control(struct af_instance *af, int cmd, void *arg) struct mp_audio *in = arg; struct mp_audio orig_in = *in; - if (AF_FORMAT_IS_AC3(in->format) || in->nch < s->cfg_min_channel_num) + if (AF_FORMAT_IS_SPECIAL(in->format) || in->nch < s->cfg_min_channel_num) return AF_DETACH; mp_audio_set_format(in, s->in_sampleformat);