avfilter/af_acrossover: check for rest of sample formats

This commit is contained in:
Paul B Mahol 2021-08-29 10:29:15 +02:00
parent fdb4c03555
commit 02fcd485f9

View File

@ -483,6 +483,7 @@ static int config_input(AVFilterLink *inlink)
switch (inlink->format) {
case AV_SAMPLE_FMT_FLTP: s->filter_channels = filter_channels_fltp; break;
case AV_SAMPLE_FMT_DBLP: s->filter_channels = filter_channels_dblp; break;
default: return AVERROR_BUG;
}
s->xover = ff_get_audio_buffer(inlink, 2 * (ctx->nb_outputs * 10 + ctx->nb_outputs * 10 +