[FFmpeg-cvslog] avcodec/aactab: Deduplicate swb_offset_960 tabs

Andreas Rheinhardt git at videolan.org
Sat Nov 4 02:36:12 EET 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Nov  1 00:55:49 2023 +0100| [5935423e1e8bf02362590ee5843f0a869872af9e] | committer: Andreas Rheinhardt

avcodec/aactab: Deduplicate swb_offset_960 tabs

swb_offset_960_48 and swb_offset_960_32 coincide.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5935423e1e8bf02362590ee5843f0a869872af9e
---

 libavcodec/aactab.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/libavcodec/aactab.c b/libavcodec/aactab.c
index d20ac56a3f..63a478f33f 100644
--- a/libavcodec/aactab.c
+++ b/libavcodec/aactab.c
@@ -1331,14 +1331,7 @@ static const uint16_t swb_offset_960_48[] =
     672, 704, 736, 768, 800, 832, 864, 896, 928, 960
 };
 
-static const uint16_t swb_offset_960_32[] =
-{
-    0,   4,   8,   12,  16,  20,  24,  28,  32,  36,
-    40,  48,  56,  64,  72,  80,  88,  96,  108, 120,
-    132, 144, 160, 176, 196, 216, 240, 264, 292, 320,
-    352, 384, 416, 448, 480, 512, 544, 576, 608, 640,
-    672, 704, 736, 768, 800, 832, 864, 896, 928, 960
-};
+#define swb_offset_960_32 swb_offset_960_48
 
 static const uint16_t swb_offset_960_24[] =
 {



More information about the ffmpeg-cvslog mailing list