summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-09-15 07:44:03 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-09-15 07:44:03 +0000
commitf8d1509a95fed1003b9104ae546cb4a868c3d2b6 (patch)
tree5e3d22b62f45bbc4ba4d645a2fa249d00b91fd00
parent128593538b6d8d778b4d48cba58908b255a5570b (diff)
downloadrockbox-f8d1509a95fed1003b9104ae546cb4a868c3d2b6.tar.gz
rockbox-f8d1509a95fed1003b9104ae546cb4a868c3d2b6.tar.bz2
rockbox-f8d1509a95fed1003b9104ae546cb4a868c3d2b6.zip
flac: more detailed debug message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28087 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/flac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c
index 64d380d2a2..e8b7f9ad83 100644
--- a/apps/codecs/flac.c
+++ b/apps/codecs/flac.c
@@ -121,7 +121,8 @@ static bool flac_init(FLACContext* fc, int first_frame_offset)
int max_blocksize = (buf[2] << 8) | buf[3];
if (max_blocksize > MAX_BLOCKSIZE)
{
- LOGF("FLAC: Maximum blocksize is too large\n");
+ LOGF("FLAC: Maximum blocksize is too large (%d > %d)\n",
+ max_blocksize, MAX_BLOCKSIZE);
return false;
}
fc->max_blocksize = max_blocksize;