diff options
| author | Franklin Wei <git@fwei.tk> | 2017-09-01 22:03:06 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2017-09-01 22:03:06 -0400 |
| commit | 25a29e71d85ca2b9ff47845ea4c8f119d7d4eaf8 (patch) | |
| tree | 5aa49901d271f93bbf2b065e72b442d58c8dd5ce /apps/plugins/mp3_encoder.c | |
| parent | 5a724bb6dc6ea32cfb858fcb3ec09797413cdf46 (diff) | |
| download | rockbox-25a29e71d85ca2b9ff47845ea4c8f119d7d4eaf8.zip rockbox-25a29e71d85ca2b9ff47845ea4c8f119d7d4eaf8.tar.gz rockbox-25a29e71d85ca2b9ff47845ea4c8f119d7d4eaf8.tar.bz2 rockbox-25a29e71d85ca2b9ff47845ea4c8f119d7d4eaf8.tar.xz | |
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
Diffstat (limited to 'apps/plugins/mp3_encoder.c')
| -rw-r--r-- | apps/plugins/mp3_encoder.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index 7bdf599..884a3b0 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c @@ -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 */ |