On 22/05/2025 06:21, sohzm wrote:
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;
It should be the other way around, the float decoder should be picked first.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".