Mercurial > libavcodec.hg
diff twinvq.c @ 10081:b870decf566d libavcodec
Cosmetics: add some whitespace around operators
author | vitor |
---|---|
date | Mon, 24 Aug 2009 17:35:47 +0000 |
parents | e944ff8f487a |
children | 0fa3d21b317e |
line wrap: on
line diff
--- a/twinvq.c Mon Aug 24 10:59:14 2009 +0000 +++ b/twinvq.c Mon Aug 24 17:35:47 2009 +0000 @@ -234,7 +234,7 @@ float q = 0.5f; float two_cos_w = 2.0f*cos_val; - for (j=0; j+1 < order; j += 2*2) { + for (j=0; j + 1 < order; j += 2*2) { // Unroll the loop once since order is a multiple of four q *= lsp[j ] - two_cos_w; p *= lsp[j+1] - two_cos_w; @@ -458,7 +458,7 @@ // For the last block, be careful not to go beyond the end of the buffer center = very_broken_op(period, i); - for (j=-width/2; j < (width+1)/2 && shape < shape_end; j++) + for (j=-width/2; j < (width + 1)/2 && shape < shape_end; j++) speech[j+center] += ppc_gain * *shape++; }