X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fatrac3plusdsp.c;h=ca3154e133723e6698c43817cca8099c2e216a49;hb=6268034b5d03580f86e9ff5a1879ebd56f35db40;hp=96aa402c2b2c7669da2d9e2ad71f757108b43beb;hpb=fda424b300c1a0b991296aa585691609d01196bd;p=ffmpeg diff --git a/libavcodec/atrac3plusdsp.c b/libavcodec/atrac3plusdsp.c index 96aa402c2b2..ca3154e1337 100644 --- a/libavcodec/atrac3plusdsp.c +++ b/libavcodec/atrac3plusdsp.c @@ -248,7 +248,7 @@ void ff_atrac3p_generate_tones(Atrac3pChanUnitCtx *ch_unit, AVFloatDSPContext *f out[i] += wavreg1[i] + wavreg2[i]; } -static const int subband_to_powgrp[ATRAC3P_SUBBANDS] = { +static const uint8_t subband_to_powgrp[ATRAC3P_SUBBANDS] = { 0, 1, 1, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4 }; @@ -411,7 +411,7 @@ static const float pwc_levs[16] = { }; /** Map subband number to quant unit number. */ -static const int subband_to_qu[17] = { +static const uint8_t subband_to_qu[17] = { 0, 8, 12, 16, 18, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32 };