[FFmpeg-cvslog] r19695 - trunk/libavcodec/twinvq.c

vitor subversion
Mon Aug 24 19:35:47 CEST 2009


Author: vitor
Date: Mon Aug 24 19:35:47 2009
New Revision: 19695

Log:
Cosmetics: add some whitespace around operators

Modified:
   trunk/libavcodec/twinvq.c

Modified: trunk/libavcodec/twinvq.c
==============================================================================
--- trunk/libavcodec/twinvq.c	Mon Aug 24 15:43:33 2009	(r19694)
+++ trunk/libavcodec/twinvq.c	Mon Aug 24 19:35:47 2009	(r19695)
@@ -234,7 +234,7 @@ static float eval_lpc_spectrum(const flo
     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 wid
 
     // 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++;
 }
 



More information about the ffmpeg-cvslog mailing list