From a0d5bea9ec120cb19efedc95e8e96fe1ca88feff Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 1 Dec 2004 11:04:39 +0000 Subject: [PATCH] The debug output now reports the correct mpeg layer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657 --- firmware/mp3data.c | 4 ++-- 1 file 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;