[FFmpeg-cvslog] avfilter/af_acrossover: check for rest of sample formats

Paul B Mahol git at videolan.org
Sun Aug 29 11:37:03 EEST 2021


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Aug 29 10:29:15 2021 +0200| [02fcd485f91e468638198ba05847af514ae58df9] | committer: Paul B Mahol

avfilter/af_acrossover: check for rest of sample formats

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02fcd485f91e468638198ba05847af514ae58df9
---

 libavfilter/af_acrossover.c | 1 +
 1 file changed, 1 insertion(+)

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 +



More information about the ffmpeg-cvslog mailing list