PR #22919 opened by Macdu URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22919 Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22919.patch
There is a (clear) typo in the at9_tab_b_dist array of atrac9tab.h, one of the values should be 16 instead of 6. With this typo fixed, it now matches the BaseCurve value from [LibAtrac9](https://github.com/Thealexbarney/LibAtrac9/blob/efca2e3af35562a09a9bb6deed90e45b4b824dc4/C/src/bit_allocation.c#L126) . >From 78da965b583f299954fe925c865625cba59ab19a Mon Sep 17 00:00:00 2001 From: Macdu <[email protected]> Date: Sat, 25 Apr 2026 22:44:39 +0200 Subject: [PATCH] avcodec/atrac9tab: correct base curve value --- libavcodec/atrac9tab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/atrac9tab.h b/libavcodec/atrac9tab.h index bdd051221e..a4a63bcaa1 100644 --- a/libavcodec/atrac9tab.h +++ b/libavcodec/atrac9tab.h @@ -369,7 +369,7 @@ static const uint8_t at9_tab_sf_weights[][32] = { static const uint8_t at9_tab_b_dist[] = { 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 7, 8, - 9, 10, 11, 12, 13, 15, 6, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 27, + 9, 10, 11, 12, 13, 15, 16, 18, 19, 20, 21, 22, 23, 24, 25, 26, 26, 27, 27, 28, 28, 28, 29, 29, 29, 29, 30, 30, 30, 30, }; -- 2.52.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
