summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-07-11 23:07:41 +0000
committerDave Chapman <dave@dchapman.com>2007-07-11 23:07:41 +0000
commita9df713ee9c9bbae872ad5364f037e5993e5be88 (patch)
tree11ddd35e7c45db98c2569a37669db1a04818f976
parentfe0d92d51ff2d59b33910fe1ea3910e21783e94f (diff)
downloadrockbox-a9df713ee9c9bbae872ad5364f037e5993e5be88.tar.gz
rockbox-a9df713ee9c9bbae872ad5364f037e5993e5be88.zip
TAB and whitespace police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13858 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/codecs/libwma/wmadeci.c10
-rw-r--r--apps/codecs/wma.c8
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/codecs/libwma/wmadeci.c b/apps/codecs/libwma/wmadeci.c
index 3361325887..668aac7294 100644
--- a/apps/codecs/libwma/wmadeci.c
+++ b/apps/codecs/libwma/wmadeci.c
@@ -548,13 +548,13 @@ int wma_decode_init(WMADecodeContext* s, asf_waveformatex_t *wfx)
548 548
549 s->coefs = &coefsarray; 549 s->coefs = &coefsarray;
550 550
551 if (wfx->codec_id == ASF_CODEC_ID_WMAV1){ 551 if (wfx->codec_id == ASF_CODEC_ID_WMAV1) {
552 s->version = 1; 552 s->version = 1;
553 }else if (wfx->codec_id == ASF_CODEC_ID_WMAV2 ){ 553 } else if (wfx->codec_id == ASF_CODEC_ID_WMAV2 ) {
554 s->version = 2; 554 s->version = 2;
555 }else{ 555 } else {
556 /*one of those other wma flavors that don't have GPLed decoders */ 556 /*one of those other wma flavors that don't have GPLed decoders */
557 return -1; 557 return -1;
558 } 558 }
559 559
560 /* extract flag infos */ 560 /* extract flag infos */
diff --git a/apps/codecs/wma.c b/apps/codecs/wma.c
index ce4eea4579..ec8b5ca741 100644
--- a/apps/codecs/wma.c
+++ b/apps/codecs/wma.c
@@ -342,10 +342,10 @@ enum codec_status codec_main(void)
342 saves us from parsing it again here. */ 342 saves us from parsing it again here. */
343 memcpy(&wfx, ci->id3->toc, sizeof(wfx)); 343 memcpy(&wfx, ci->id3->toc, sizeof(wfx));
344 344
345 if(wma_decode_init(&wmadec,&wfx)< 0){ 345 if (wma_decode_init(&wmadec,&wfx) < 0) {
346 LOGF("WMA: Unsupported or corrupt file\n"); 346 LOGF("WMA: Unsupported or corrupt file\n");
347 retval = CODEC_ERROR; 347 retval = CODEC_ERROR;
348 goto exit; 348 goto exit;
349 } 349 }
350 350
351 /* Now advance the file position to the first frame */ 351 /* Now advance the file position to the first frame */