This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 028d9d3997a540f7d038a5a0cc19ad96facc27e2 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Fri Feb 6 22:48:49 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Wed Feb 11 12:07:31 2026 +0100 avcodec/sbcdec: Don't set encoder-only fields ch_layouts, sample_fmts and supported_samplerates are of no use for a decoder, so don't set them. In this case this fixes an inconsistency: ch_layouts contained mono and stereo, yet lateron the AVCodecContext's ch_layout is always populated with an AV_CHANNEL_ORDER_UNSPEC layout. Reviewed-by: James Almer <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/sbcdec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/sbcdec.c b/libavcodec/sbcdec.c index d39319966c..d999cefd22 100644 --- a/libavcodec/sbcdec.c +++ b/libavcodec/sbcdec.c @@ -371,7 +371,4 @@ const FFCodec ff_sbc_decoder = { .init = sbc_decode_init, FF_CODEC_DECODE_CB(sbc_decode_frame), .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_CHANNEL_CONF, - CODEC_CH_LAYOUTS(AV_CHANNEL_LAYOUT_MONO, AV_CHANNEL_LAYOUT_STEREO), - CODEC_SAMPLEFMTS(AV_SAMPLE_FMT_S16P), - CODEC_SAMPLERATES(16000, 32000, 44100, 48000), }; _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
