diff options
Diffstat (limited to 'firmware/mp3data.c')
-rw-r--r-- | firmware/mp3data.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c index f62afda62f..de204e04f3 100644 --- a/firmware/mp3data.c +++ b/firmware/mp3data.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include "file.h" | 38 | #include "file.h" |
39 | #include "buffer.h" | 39 | #include "buffer.h" |
40 | 40 | ||
41 | #define DEBUG_VERBOSE | 41 | // #define DEBUG_VERBOSE |
42 | 42 | ||
43 | #define SYNC_MASK (0x7ffL << 21) | 43 | #define SYNC_MASK (0x7ffL << 21) |
44 | #define VERSION_MASK (3L << 19) | 44 | #define VERSION_MASK (3L << 19) |
@@ -230,7 +230,7 @@ static unsigned long __find_next_frame(int fd, long *offset, long max_offset, | |||
230 | 230 | ||
231 | *offset = pos - 4; | 231 | *offset = pos - 4; |
232 | 232 | ||
233 | #if defined(DEBUG) || defined(SIMULATOR) | 233 | #if defined(DEBUG) |
234 | if(*offset) | 234 | if(*offset) |
235 | DEBUGF("Warning: skipping %ld bytes of garbage\n", *offset); | 235 | DEBUGF("Warning: skipping %ld bytes of garbage\n", *offset); |
236 | #endif | 236 | #endif |
@@ -374,7 +374,7 @@ int get_mp3file_info(int fd, struct mp3info *info) | |||
374 | /* OK, we have found a frame. Let's see if it has a Xing header */ | 374 | /* OK, we have found a frame. Let's see if it has a Xing header */ |
375 | if (info->frame_size-4 >= (int)sizeof(frame)) | 375 | if (info->frame_size-4 >= (int)sizeof(frame)) |
376 | { | 376 | { |
377 | #if defined(DEBUG) || defined(SIMULATOR) | 377 | #if defined(DEBUG) |
378 | DEBUGF("Error: Invalid id3 header, frame_size: %d\n", info->frame_size); | 378 | DEBUGF("Error: Invalid id3 header, frame_size: %d\n", info->frame_size); |
379 | #endif | 379 | #endif |
380 | return -8; | 380 | return -8; |