aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2009-08-24 17:35:47 +0000
committerVitor Sessak <vitor1001@gmail.com>2009-08-24 17:35:47 +0000
commitce78113d5a4eee6adc1390694f438b98f04c92ac (patch)
tree58351780db7e47addebf064ac790718320afb09a /libavcodec
parent429eeecd5a46feebf8a2ad4427d29cf1079ce827 (diff)
downloadffmpeg-ce78113d5a4eee6adc1390694f438b98f04c92ac.tar.gz
Cosmetics: add some whitespace around operators
Originally committed as revision 19695 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/twinvq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c
index 967e9f9169..1c05238efc 100644
--- a/libavcodec/twinvq.c
+++ b/libavcodec/twinvq.c
@@ -234,7 +234,7 @@ static float eval_lpc_spectrum(const float *lsp, float cos_val, int order)
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 @@ static void add_peak(int period, int width, const float *shape,
// 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++;
}