[FFmpeg-devel] [PATCH] avcodec: reorder MP3 decoder declarations to match MP2 pattern
sohzm
sohambharambe9 at gmail.com
Thu May 22 00:21:07 EEST 2025
Fix inconsistent sample format reporting between probing and decoding.
Previously, avformat_find_stream_info reported fltp format for MP3
streams but frames were decoded as s16p.
Fixes ticket/11561
---
libavcodec/allcodecs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index cd4f6ecd59..329e410aee 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -500,8 +500,8 @@ extern const FFCodec ff_mp2_encoder;
extern const FFCodec ff_mp2_decoder;
extern const FFCodec ff_mp2float_decoder;
extern const FFCodec ff_mp2fixed_encoder;
-extern const FFCodec ff_mp3float_decoder;
extern const FFCodec ff_mp3_decoder;
+extern const FFCodec ff_mp3float_decoder;
extern const FFCodec ff_mp3adufloat_decoder;
extern const FFCodec ff_mp3adu_decoder;
extern const FFCodec ff_mp3on4float_decoder;
--
2.49.0
More information about the ffmpeg-devel
mailing list