summaryrefslogtreecommitdiff
path: root/firmware/mp3data.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-12-01 11:04:39 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-12-01 11:04:39 +0000
commita0d5bea9ec120cb19efedc95e8e96fe1ca88feff (patch)
treee9e019f0683a3c4ed5e4acdca0701fd99a394279 /firmware/mp3data.c
parente745dc8b7f2d7fdf9efd5b6208c812ba7f160ff5 (diff)
The debug output now reports the correct mpeg layer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/mp3data.c')
-rw-r--r--firmware/mp3data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/mp3data.c b/firmware/mp3data.c
index 7c8c75833b..38cfc9d322 100644
--- a/firmware/mp3data.c
+++ b/firmware/mp3data.c
@@ -205,8 +205,8 @@ static bool mp3headerinfo(struct mp3info *info, unsigned long header)
#ifdef DEBUG_VERBOSE
DEBUGF( "Header: %08x, Ver %d, lay %d, bitr %d, freq %d, "
"chmode %d, mode_ext %d, emph %d, bytes: %d time: %d\n",
- header, info->version, info->layer, info->bitrate, info->frequency,
- info->channel_mode, info->mode_extension,
+ header, info->version, info->layer+1, info->bitrate,
+ info->frequency, info->channel_mode, info->mode_extension,
info->emphasis, info->frame_size, info->frame_time);
#endif
return true;