diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/libwma/wmadeci.c | 10 | ||||
-rw-r--r-- | apps/codecs/wma.c | 8 |
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 */ |