avcodec/aacps_common: Apply offset for VLCs during init

This avoids having to apply it later after every get_vlc2().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2023-09-26 18:19:57 +02:00
parent 40a8cb9e6c
commit 5dc31bc67b
2 changed files with 10 additions and 10 deletions

View File

@@ -89,9 +89,9 @@ static const uint8_t aacps_huff_tabs[][2] = {
};
static const int8_t huff_offset[] = {
30, 30,
14, 14,
7, 7,
-30, -30,
-14, -14,
-7, -7,
0, 0,
0, 0,
};