diff options
author | Paul B Mahol <onemda@gmail.com> | 2021-08-29 10:29:15 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-08-29 10:29:15 +0200 |
commit | 02fcd485f91e468638198ba05847af514ae58df9 (patch) | |
tree | 063c1c418b7c4a90b66fb7cf49ae83efe23b1320 /libavfilter/af_acrossover.c | |
parent | fdb4c035551f177f550d69ed62e8d8bca1c6f32c (diff) | |
download | ffmpeg-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.c | 1 |
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 + |