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

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Mon Jan 25 11:16:34 EET 2021


Andreas Rheinhardt:
> Forgotten in 58fc810d42fde26ed6c1f2996122e98ab7005849.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at 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


More information about the ffmpeg-devel mailing list