ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@gmail.com> | 
Sun Jan  3 01:42:13 2021 +0100| [241cb4a48c861b37fb6b90acd359654d18b02b19] | 
committer: Andreas Rheinhardt

avcodec/vp3data: Deduplicate coeff_tables

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@gmail.com>

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

 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] = {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to