mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
5a724bb6dc
commit
25a29e71d8
1 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue