summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-18 09:43:12 +0000
committerDave Chapman <dave@dchapman.com>2007-07-18 09:43:12 +0000
commite6a3f7d731d58e5d9d9397327e7e4ced6a4373aa (patch)
treee56346b958c70441308efd417797e6b6fbe5de8f
parent4102ed56f08a2322e8db53655538724863163171 (diff)
downloadrockbox-e6a3f7d731d58e5d9d9397327e7e4ced6a4373aa.tar.gz
rockbox-e6a3f7d731d58e5d9d9397327e7e4ced6a4373aa.tar.bz2
rockbox-e6a3f7d731d58e5d9d9397327e7e4ced6a4373aa.zip
Cosmetic changes - update a comment and add more info to a DEBUGF
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13925 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/wma.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c
index ec8b5ca741..7d9f3c81c6 100644
--- a/apps/codecs/wma.c
+++ b/apps/codecs/wma.c
@@ -29,7 +29,7 @@ CODEC_HEADER
static uint16_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS];
-/* NOTE: WMADecodeContext is 142688 bytes (on x86) */
+/* NOTE: WMADecodeContext is 120152 bytes (on x86) */
static WMADecodeContext wmadec;
enum asf_error_e {
@@ -211,7 +211,8 @@ static int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlen
relatively small packets less than about 8KB), but I don't
know what is expected.
*/
- DEBUGF("Could not read packet (%d bytes), aborting\n",(int)length);
+ DEBUGF("Could not read packet (requested %d bytes, received %d), curpos=%d, aborting\n",
+ (int)length,(int)bufsize,(int)ci->curpos);
return -1;
}