Silence warnings in mp3_encoder

`const' only needs to be used once (a const pointer to const data is
`const type * const').

Change-Id: I47a0d69755cb7753ac64b82b930d14b4a19b7527
This commit is contained in:
Franklin Wei 2017-09-01 22:03:06 -04:00
parent 5a724bb6dc
commit 25a29e71d8

View file

@ -71,9 +71,9 @@ typedef struct {
} BF_Data;
struct huffcodetab {
const uint8_t len; /* max. index */
const uint8_t const *table; /* pointer to array[len][len] */
const uint8_t const *hlen; /* pointer to array[len][len] */
const uint8_t len; /* max. index */
const uint8_t *table; /* pointer to array[len][len] */
const uint8_t *hlen; /* pointer to array[len][len] */
};
struct huffcodebig {
@ -98,7 +98,7 @@ static short enc_data [SAMPL2] IBSS_ATTR; /* 1152 Bytes */
static BF_Data CodedData IBSS_ATTR; /* 1056 Bytes */
static const uint16_t sfBand[6][23] ICONST_ATTR;
static const uint16_t const *scalefac IBSS_ATTR;
static const uint16_t *scalefac IBSS_ATTR;
static const int16_t ca [8] ICONST_ATTR; /* 16 Bytes */
static const uint16_t cs [8] ICONST_ATTR; /* 16 Bytes */