diff options
Diffstat (limited to 'apps/codecs/mp3_enc.c')
-rw-r--r-- | apps/codecs/mp3_enc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/codecs/mp3_enc.c b/apps/codecs/mp3_enc.c index b35702b0d0..2739778349 100644 --- a/apps/codecs/mp3_enc.c +++ b/apps/codecs/mp3_enc.c | |||
@@ -2138,8 +2138,6 @@ STATICIRAM void to_mono_mm(void) | |||
2138 | #ifdef ROCKBOX_LITTLE_ENDIAN | 2138 | #ifdef ROCKBOX_LITTLE_ENDIAN |
2139 | /* Swaps a frame to big endian */ | 2139 | /* Swaps a frame to big endian */ |
2140 | static inline void byte_swap_frame32(uint32_t *dst, uint32_t *src, | 2140 | static inline void byte_swap_frame32(uint32_t *dst, uint32_t *src, |
2141 | size_t size) ICODE_ATTR; | ||
2142 | static inline void byte_swap_frame32(uint32_t *dst, uint32_t *src, | ||
2143 | size_t size) | 2141 | size_t size) |
2144 | { | 2142 | { |
2145 | uint32_t *src_end = SKIPBYTES(src, size); | 2143 | uint32_t *src_end = SKIPBYTES(src, size); |
@@ -2386,7 +2384,6 @@ STATICIRAM void encode_frame(char *buffer, struct enc_chunk_hdr *chunk) | |||
2386 | } /* encode_frame */ | 2384 | } /* encode_frame */ |
2387 | 2385 | ||
2388 | /* called very often - inline */ | 2386 | /* called very often - inline */ |
2389 | static inline bool is_file_data_ok(struct enc_file_event_data *filed) ICODE_ATTR; | ||
2390 | static inline bool is_file_data_ok(struct enc_file_event_data *filed) | 2387 | static inline bool is_file_data_ok(struct enc_file_event_data *filed) |
2391 | { | 2388 | { |
2392 | return filed->rec_file >= 0 && (long)filed->chunk->flags >= 0; | 2389 | return filed->rec_file >= 0 && (long)filed->chunk->flags >= 0; |
@@ -2396,7 +2393,6 @@ static unsigned char mp3_data[16384] __attribute__((aligned(4))); | |||
2396 | static unsigned int mp3_data_len; /* current data size in buffer */ | 2393 | static unsigned int mp3_data_len; /* current data size in buffer */ |
2397 | 2394 | ||
2398 | /* called very often - inline */ | 2395 | /* called very often - inline */ |
2399 | static inline bool on_write_chunk(struct enc_file_event_data *data) ICODE_ATTR; | ||
2400 | static inline bool on_write_chunk(struct enc_file_event_data *data) | 2396 | static inline bool on_write_chunk(struct enc_file_event_data *data) |
2401 | { | 2397 | { |
2402 | if (!is_file_data_ok(data)) | 2398 | if (!is_file_data_ok(data)) |
@@ -2514,9 +2510,7 @@ static void on_rec_new_stream(struct enc_buffer_event_data *data) | |||
2514 | } | 2510 | } |
2515 | } /* on_rec_new_stream */ | 2511 | } /* on_rec_new_stream */ |
2516 | 2512 | ||
2517 | STATICIRAM void enc_events_callback(enum enc_events event, void *data) | 2513 | static void enc_events_callback(enum enc_events event, void *data) |
2518 | ICODE_ATTR; | ||
2519 | STATICIRAM void enc_events_callback(enum enc_events event, void *data) | ||
2520 | { | 2514 | { |
2521 | switch (event) | 2515 | switch (event) |
2522 | { | 2516 | { |