OSDN Git Service

Cosmetics: Fix indentation after last commit.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 18 Dec 2011 13:22:13 +0000 (14:22 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Sun, 18 Dec 2011 13:22:13 +0000 (14:22 +0100)
libavcodec/acelp_vectors.c

index e6db556..6a544a9 100644 (file)
@@ -238,11 +238,11 @@ void ff_set_fixed_vector(float *out, const AMRFixed *in, float scale, int size)
         float y = in->y[i] * scale;
 
         if (in->pitch_lag > 0)
-        do {
-            out[x] += y;
-            y *= in->pitch_fac;
-            x += in->pitch_lag;
-        } while (x < size && repeats);
+            do {
+                out[x] += y;
+                y *= in->pitch_fac;
+                x += in->pitch_lag;
+            } while (x < size && repeats);
     }
 }
 
@@ -254,9 +254,9 @@ void ff_clear_fixed_vector(float *out, const AMRFixed *in, int size)
         int x  = in->x[i], repeats = !((in->no_repeat_mask >> i) & 1);
 
         if (in->pitch_lag > 0)
-        do {
-            out[x] = 0.0;
-            x += in->pitch_lag;
-        } while (x < size && repeats);
+            do {
+                out[x] = 0.0;
+                x += in->pitch_lag;
+            } while (x < size && repeats);
     }
 }