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 #ifdef DEBUG_VERBOSE
DEBUGF( "Header: %08x, Ver %d, lay %d, bitr %d, freq %d, " DEBUGF( "Header: %08x, Ver %d, lay %d, bitr %d, freq %d, "
"chmode %d, mode_ext %d, emph %d, bytes: %d time: %d\n", "chmode %d, mode_ext %d, emph %d, bytes: %d time: %d\n",
header, info->version, info->layer, info->bitrate, info->frequency, header, info->version, info->layer+1, info->bitrate,
info->channel_mode, info->mode_extension, info->frequency, info->channel_mode, info->mode_extension,
info->emphasis, info->frame_size, info->frame_time); info->emphasis, info->frame_size, info->frame_time);
#endif #endif
return true; return true;