diff options
| author | Brad Midgley <bmidgley@xmission.com> | 2007-03-24 14:01:31 +0000 | 
|---|---|---|
| committer | Brad Midgley <bmidgley@xmission.com> | 2007-03-24 14:01:31 +0000 | 
| commit | a745805cb3961ccf88f0119f28dc919ed9c571e5 (patch) | |
| tree | 79225c684eebc3cc80f8644ed205dd2b520525e5 | |
| parent | 0c96c8790268b67d973339ca4547c8021474bf1c (diff) | |
whitespace fixes
| -rw-r--r-- | sbc/sbc.c | 4 | ||||
| -rw-r--r-- | sbc/sbcdec.c | 6 | 
2 files changed, 5 insertions, 5 deletions
@@ -594,7 +594,7 @@ static inline void sbc_synthesize_four(struct sbc_decoder_state *state,  	for(i = 0; i < 8; i++) {  		/* Shifting */  		state->offset[ch][i]--; -		if(state->offset[ch][i] < 0) { +		if (state->offset[ch][i] < 0) {  			state->offset[ch][i] = 79;  			for(j = 0; j < 9; j++) {  				state->V[ch][j+80] = state->V[ch][j]; @@ -634,7 +634,7 @@ static inline void sbc_synthesize_eight(struct sbc_decoder_state *state,  	for(i = 0; i < 16; i++) {  		/* Shifting */  		state->offset[ch][i]--; -		if(state->offset[ch][i] < 0) { +		if (state->offset[ch][i] < 0) {  			state->offset[ch][i] = 159;  			for(j = 0; j < 9; j++) {  				state->V[ch][j+160] = state->V[ch][j];  diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c index 3435e8f8..decd758d 100644 --- a/sbc/sbcdec.c +++ b/sbc/sbcdec.c @@ -122,11 +122,11 @@ static void decode(char *filename, char *audiodevice, int tofile)  			// buffer is too full to stuff decoded audio in  			// so it must be written to the device  			written = write(ad, buf, count); -			if(written > 0) count -= written; +			if (written > 0) count -= written;  		}  		// sanity check -		if(count + sbc.len > BUF_SIZE) { +		if (count + sbc.len > BUF_SIZE) {  			fprintf(stderr, "buffer size of %d is too small for decoded data (%d)\n", BUF_SIZE, sbc.len + count);  			exit(1);  		} @@ -143,7 +143,7 @@ static void decode(char *filename, char *audiodevice, int tofile)  	if (count > 0) {  		written = write(ad, buf, count); -		if(written > 0) count -= written; +		if (written > 0) count -= written;  	}  close:  | 
