aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-03 01:42:13 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-01-08 05:05:10 +0100
commit241cb4a48c861b37fb6b90acd359654d18b02b19 (patch)
tree310aeecb6f5cf94e3c46f0cfb53cfc4de86c5a42
parent0a493ac0ca7e7959570894eca480f05e12e0b067 (diff)
downloadffmpeg-241cb4a48c861b37fb6b90acd359654d18b02b19.tar.gz
avcodec/vp3data: Deduplicate coeff_tables
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/vp3data.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/vp3data.h b/libavcodec/vp3data.h
index 1fbeac731b..272af4e3a0 100644
--- a/libavcodec/vp3data.h
+++ b/libavcodec/vp3data.h
@@ -179,8 +179,7 @@ static const int16_t coeff_table_token_15[2] = { 5, -5 };
static const int16_t coeff_table_token_16[2] = { 6, -6 };
static const int16_t coeff_table_token_23_24_25_26_27_28_29[2] = { 1, -1 };
-static const int16_t coeff_table_token_30[4] = { 2, 3, -2, -3 };
-static const int16_t coeff_table_token_31[4] = { 2, 3, -2, -3 };
+static const int16_t coeff_table_token_30_31[4] = { 2, 3, -2, -3 };
static const int16_t coeff_table_token_17[4] = {
7, 8, -7, -8
@@ -377,8 +376,8 @@ static const int16_t *const coeff_tables[32] = {
coeff_table_token_23_24_25_26_27_28_29,
coeff_table_token_23_24_25_26_27_28_29,
coeff_table_token_23_24_25_26_27_28_29,
- coeff_table_token_30,
- coeff_table_token_31
+ coeff_table_token_30_31,
+ coeff_table_token_30_31
};
static const uint8_t vp3_bias[5 * 16][32][2] = {