aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_acrossover.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2021-08-29 10:29:15 +0200
committerPaul B Mahol <onemda@gmail.com>2021-08-29 10:29:15 +0200
commit02fcd485f91e468638198ba05847af514ae58df9 (patch)
tree063c1c418b7c4a90b66fb7cf49ae83efe23b1320 /libavfilter/af_acrossover.c
parentfdb4c035551f177f550d69ed62e8d8bca1c6f32c (diff)
downloadffmpeg-02fcd485f91e468638198ba05847af514ae58df9.tar.gz
avfilter/af_acrossover: check for rest of sample formats
Diffstat (limited to 'libavfilter/af_acrossover.c')
-rw-r--r--libavfilter/af_acrossover.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_acrossover.c b/libavfilter/af_acrossover.c
index 8306d532ac..b339919142 100644
--- a/libavfilter/af_acrossover.c
+++ b/libavfilter/af_acrossover.c
@@ -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 +