summaryrefslogtreecommitdiffstats
path: root/firmware/export/mp3data.h
diff options
context:
space:
mode:
authorJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-30 14:11:50 +0000
committerJean-Philippe Bernardy <jeanphilippe.bernardy@gmail.com>2005-01-30 14:11:50 +0000
commit98a8132155a9c390395c3d1f570883da3e3f560d (patch)
treefbd3edb73084af28570ea4c40011916bffdafbcd /firmware/export/mp3data.h
parent9d42e2b39632047b0ba272c03ec154b3931c43de (diff)
downloadrockbox-98a8132155a9c390395c3d1f570883da3e3f560d.tar.gz
rockbox-98a8132155a9c390395c3d1f570883da3e3f560d.tar.bz2
rockbox-98a8132155a9c390395c3d1f570883da3e3f560d.zip
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/mp3data.h')
-rw-r--r--firmware/export/mp3data.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h
index 833a4c9dfa..c031cc20ce 100644
--- a/firmware/export/mp3data.h
+++ b/firmware/export/mp3data.h
@@ -43,9 +43,9 @@ struct mp3info {
bool is_xing_vbr; /* True if the VBR header is of Xing type */
bool is_vbri_vbr; /* True if the VBR header is of VBRI type */
unsigned char toc[100];
- int frame_count; /* Number of frames in the file (if VBR) */
- int byte_count; /* File size in bytes */
- int file_time; /* Length of the whole file in milliseconds */
+ long frame_count; /* Number of frames in the file (if VBR) */
+ long byte_count; /* File size in bytes */
+ long file_time; /* Length of the whole file in milliseconds */
int vbr_header_pos;
};
@@ -55,8 +55,8 @@ struct mp3info {
#define VBR_TOC_FLAG 0x04
-unsigned long find_next_frame(int fd, int *offset, int max_offset, unsigned long last_header);
-unsigned long mem_find_next_frame(int startpos, int *offset, int max_offset,
+unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned long last_header);
+unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset,
unsigned long last_header);
int get_mp3file_info(int fd, struct mp3info *info);
int count_mp3_frames(int fd, int startpos, int filesize,