aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-11-01 00:55:49 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-11-04 01:24:09 +0100
commit5935423e1e8bf02362590ee5843f0a869872af9e (patch)
treef210b47d452685f65d4aa8ae0766f19422c544fc
parent4fb9d946883ba8a3e21a9e756aa27349e6e22cef (diff)
downloadffmpeg-5935423e1e8bf02362590ee5843f0a869872af9e.tar.gz
avcodec/aactab: Deduplicate swb_offset_960 tabs
swb_offset_960_48 and swb_offset_960_32 coincide. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/aactab.c9
1 files changed, 1 insertions, 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[] =
{