From 241cb4a48c861b37fb6b90acd359654d18b02b19 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 3 Jan 2021 01:42:13 +0100 Subject: [PATCH] avcodec/vp3data: Deduplicate coeff_tables Signed-off-by: Andreas Rheinhardt --- libavcodec/vp3data.h | 7 +++---- 1 file 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] = {