[FFmpeg-devel] [PATCH] avcodec/mpegaudiodec_common: fix values for 24k sample rate
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Oct 18 10:56:39 EEST 2022
Paul B Mahol:
> diff --git a/libavcodec/mpegaudiodec_common.c b/libavcodec/mpegaudiodec_common.c
> index 71fc2e7c81..5fcb39b325 100644
> --- a/libavcodec/mpegaudiodec_common.c
> +++ b/libavcodec/mpegaudiodec_common.c
> @@ -369,7 +369,7 @@ const uint8_t ff_band_size_long[9][22] = {
> { 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16,
> 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 22050 */
> { 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16,
> - 18, 22, 26, 32, 38, 46, 52, 64, 70, 76, 36, }, /* 24000 */
> + 18, 22, 26, 32, 38, 46, 54, 62, 70, 76, 36, }, /* 24000 */
> { 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16,
> 20, 24, 28, 32, 38, 46, 52, 60, 68, 58, 54, }, /* 16000 */
> { 6, 6, 6, 6, 6, 6, 8, 10, 12, 14, 16,
Can you add a pointer to the exact table in the spec on which this table
is based?
- Andreas
More information about the ffmpeg-devel
mailing list