ffmpeg | branch: master | Paul B Mahol <one...@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 +

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to