summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:16:47 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-19 08:16:47 +0000
commit9afa8002ae725492c588eab9e5626f5482ab0124 (patch)
tree7c4c8acd206a8d14c7edfcaf68188ea3a03f2353
parent1dfebdddbede00cf3c0843653ba2f00d8308d246 (diff)
downloadrockbox-9afa8002ae725492c588eab9e5626f5482ab0124.tar.gz
rockbox-9afa8002ae725492c588eab9e5626f5482ab0124.tar.bz2
rockbox-9afa8002ae725492c588eab9e5626f5482ab0124.zip
get_mp3file_info(): remove unused variable
frames_per_entry is only used for debugging git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28109 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/mp3data.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/mp3data.c b/apps/mp3data.c
index c0279a7540..80159fb731 100644
--- a/apps/mp3data.c
+++ b/apps/mp3data.c
@@ -353,7 +353,6 @@ int get_mp3file_info(int fd, struct mp3info *info)
unsigned long header;
long bytecount;
int num_offsets;
- int frames_per_entry;
int i;
long offset;
int j;
@@ -527,13 +526,13 @@ int get_mp3file_info(int fd, struct mp3info *info)
/* We don't parse the TOC, since we don't yet know how to (FIXME) */
num_offsets = bytes2int(0, 0, vbrheader[18], vbrheader[19]);
- frames_per_entry = bytes2int(0, 0, vbrheader[24], vbrheader[25]);
DEBUGF("Frame size (%dkpbs): %d bytes (0x%x)\n",
info->bitrate, info->frame_size, info->frame_size);
DEBUGF("Frame count: %lx\n", info->frame_count);
DEBUGF("Byte count: %lx\n", info->byte_count);
DEBUGF("Offsets: %d\n", num_offsets);
- DEBUGF("Frames/entry: %d\n", frames_per_entry);
+ DEBUGF("Frames/entry: %d\n",
+ bytes2int(0, 0, vbrheader[24], vbrheader[25]));
offset = 0;