From a9df713ee9c9bbae872ad5364f037e5993e5be88 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 11 Jul 2007 23:07:41 +0000 Subject: [PATCH] TAB and whitespace police git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13858 a1c6a512-1295-4272-9138-f99709370657 --- apps/codecs/libwma/wmadeci.c | 10 +++++----- 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) s->coefs = &coefsarray; - if (wfx->codec_id == ASF_CODEC_ID_WMAV1){ + if (wfx->codec_id == ASF_CODEC_ID_WMAV1) { s->version = 1; - }else if (wfx->codec_id == ASF_CODEC_ID_WMAV2 ){ + } else if (wfx->codec_id == ASF_CODEC_ID_WMAV2 ) { s->version = 2; - }else{ - /*one of those other wma flavors that don't have GPLed decoders */ - return -1; + } else { + /*one of those other wma flavors that don't have GPLed decoders */ + return -1; } /* 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) saves us from parsing it again here. */ memcpy(&wfx, ci->id3->toc, sizeof(wfx)); - if(wma_decode_init(&wmadec,&wfx)< 0){ - LOGF("WMA: Unsupported or corrupt file\n"); - retval = CODEC_ERROR; - goto exit; + if (wma_decode_init(&wmadec,&wfx) < 0) { + LOGF("WMA: Unsupported or corrupt file\n"); + retval = CODEC_ERROR; + goto exit; } /* Now advance the file position to the first frame */