diff mbox series

[FFmpeg-devel,01/10] avcodec/atrac3plus_data: Remove unused arrays

Message ID 20210123204800.689497-1-andreas.rheinhardt@gmail.com
State Accepted
Commit 2668caf13c68098f99ee12e2a2a99cf9daf8b25a
Headers show
Series [FFmpeg-devel,01/10] avcodec/atrac3plus_data: Remove unused arrays
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt Jan. 23, 2021, 8:47 p.m. UTC
Forgotten in 58fc810d42fde26ed6c1f2996122e98ab7005849.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
---
 libavcodec/atrac3plus_data.h | 19 -------------------
 1 file changed, 19 deletions(-)

Comments

Andreas Rheinhardt Jan. 25, 2021, 9:16 a.m. UTC | #1
Andreas Rheinhardt:
> Forgotten in 58fc810d42fde26ed6c1f2996122e98ab7005849.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
> ---
>  libavcodec/atrac3plus_data.h | 19 -------------------
>  1 file changed, 19 deletions(-)
> 
> diff --git a/libavcodec/atrac3plus_data.h b/libavcodec/atrac3plus_data.h
> index b0b85c4368..05ae2b78a9 100644
> --- a/libavcodec/atrac3plus_data.h
> +++ b/libavcodec/atrac3plus_data.h
> @@ -104,25 +104,6 @@ static const uint8_t atrac3p_sf_xlats[] = {
>       0,  1,  2, 14, 15,  3, 13,  4, 12,  5, 11,  6,  7,  9, 10,
>  };
>  
> -static const uint8_t atrac3p_ct_huff1[4][2] = {
> -    { 0, 1 }, { 1, 2 }, { 2, 3 }, { 3, 3 },
> -};
> -
> -static const uint8_t atrac3p_ct_huff2[8][2] = {
> -    { 0, 2 }, { 1, 3 }, { 2, 3 }, { 3, 3 }, { 4, 3 }, { 5, 3 }, { 6, 4 },
> -    { 7, 4 },
> -};
> -
> -static const uint8_t atrac3p_ct_huff3[8][2] = {
> -    { 0, 2 }, { 1, 3 }, { 2, 3 }, { 3, 3 }, { 6, 3 }, { 7, 3 }, { 4, 4 },
> -    { 5, 4 },
> -};
> -
> -static const uint8_t atrac3p_ct_huff4[8][2] = {
> -    { 0, 1 }, { 1, 3 }, { 2, 4 }, { 3, 4 }, { 4, 4 }, { 5, 4 }, { 6, 4 },
> -    { 7, 4 },
> -};
> -
>  /* weights for quantized word lengths */
>  static const int8_t atrac3p_wl_weights[6][32] = {
>      { 5, 5, 4, 4, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0,
> 
Will apply 1-9 tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/atrac3plus_data.h b/libavcodec/atrac3plus_data.h
index b0b85c4368..05ae2b78a9 100644
--- a/libavcodec/atrac3plus_data.h
+++ b/libavcodec/atrac3plus_data.h
@@ -104,25 +104,6 @@  static const uint8_t atrac3p_sf_xlats[] = {
      0,  1,  2, 14, 15,  3, 13,  4, 12,  5, 11,  6,  7,  9, 10,
 };
 
-static const uint8_t atrac3p_ct_huff1[4][2] = {
-    { 0, 1 }, { 1, 2 }, { 2, 3 }, { 3, 3 },
-};
-
-static const uint8_t atrac3p_ct_huff2[8][2] = {
-    { 0, 2 }, { 1, 3 }, { 2, 3 }, { 3, 3 }, { 4, 3 }, { 5, 3 }, { 6, 4 },
-    { 7, 4 },
-};
-
-static const uint8_t atrac3p_ct_huff3[8][2] = {
-    { 0, 2 }, { 1, 3 }, { 2, 3 }, { 3, 3 }, { 6, 3 }, { 7, 3 }, { 4, 4 },
-    { 5, 4 },
-};
-
-static const uint8_t atrac3p_ct_huff4[8][2] = {
-    { 0, 1 }, { 1, 3 }, { 2, 4 }, { 3, 4 }, { 4, 4 }, { 5, 4 }, { 6, 4 },
-    { 7, 4 },
-};
-
 /* weights for quantized word lengths */
 static const int8_t atrac3p_wl_weights[6][32] = {
     { 5, 5, 4, 4, 3, 3, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0,