diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-08-29 21:08:38 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-08-29 21:08:38 +0000 |
commit | 5d22e3cbdd251819a4d2d07b9a12994d5aef778d (patch) | |
tree | 4c6a81187ccf065a5f296a903b9f7da88503e403 /firmware/mp3data.c | |
parent | cc31b1fbdae455f975b69dd6bffc23d8bd021566 (diff) | |
download | rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.tar.gz rockbox-5d22e3cbdd251819a4d2d07b9a12994d5aef778d.zip |
Add wpseditor, the Google Summer of Code 2008 project of Rostislav Chekan. Closes FS#9327
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mp3data.c')
-rw-r--r-- | firmware/mp3data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c index 25e40f897a..80870cd8cd 100644 --- a/firmware/mp3data.c +++ b/firmware/mp3data.c | |||
@@ -550,6 +550,7 @@ int get_mp3file_info(int fd, struct mp3info *info) | |||
550 | return bytecount; | 550 | return bytecount; |
551 | } | 551 | } |
552 | 552 | ||
553 | #ifndef __PCTOOL__ | ||
553 | static void long2bytes(unsigned char *buf, long val) | 554 | static void long2bytes(unsigned char *buf, long val) |
554 | { | 555 | { |
555 | buf[0] = (val >> 24) & 0xff; | 556 | buf[0] = (val >> 24) & 0xff; |
@@ -558,7 +559,6 @@ static void long2bytes(unsigned char *buf, long val) | |||
558 | buf[3] = val & 0xff; | 559 | buf[3] = val & 0xff; |
559 | } | 560 | } |
560 | 561 | ||
561 | #ifndef __PCTOOL__ | ||
562 | int count_mp3_frames(int fd, int startpos, int filesize, | 562 | int count_mp3_frames(int fd, int startpos, int filesize, |
563 | void (*progressfunc)(int)) | 563 | void (*progressfunc)(int)) |
564 | { | 564 | { |