The debug output now reports the correct mpeg layer

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5476 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2004-12-01 11:04:39 +00:00
parent e745dc8b7f
commit a0d5bea9ec

View file

@ -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;