summaryrefslogtreecommitdiff
path: root/apps/codecs/wma.c
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 /apps/codecs/wma.c
parent4102ed56f08a2322e8db53655538724863163171 (diff)
downloadrockbox-e6a3f7d731d58e5d9d9397327e7e4ced6a4373aa.tar.gz
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
Diffstat (limited to 'apps/codecs/wma.c')
-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
29 29
30static uint16_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS]; 30static uint16_t decoded[BLOCK_MAX_SIZE * MAX_CHANNELS];
31 31
32/* NOTE: WMADecodeContext is 142688 bytes (on x86) */ 32/* NOTE: WMADecodeContext is 120152 bytes (on x86) */
33static WMADecodeContext wmadec; 33static WMADecodeContext wmadec;
34 34
35enum asf_error_e { 35enum asf_error_e {
@@ -211,7 +211,8 @@ static int asf_read_packet(uint8_t** audiobuf, int* audiobufsize, int* packetlen
211 relatively small packets less than about 8KB), but I don't 211 relatively small packets less than about 8KB), but I don't
212 know what is expected. 212 know what is expected.
213 */ 213 */
214 DEBUGF("Could not read packet (%d bytes), aborting\n",(int)length); 214 DEBUGF("Could not read packet (requested %d bytes, received %d), curpos=%d, aborting\n",
215 (int)length,(int)bufsize,(int)ci->curpos);
215 return -1; 216 return -1;
216 } 217 }
217 218