changeset 7553:b5f8d814a206 libavcodec

mlpdec: whitespace and line-breaking cosmetics.
author ramiro
date Tue, 12 Aug 2008 18:05:58 +0000
parents 88ffd7c9c0ed
children 96d57e3b78e5
files mlpdec.c
diffstat 1 files changed, 5 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mlpdec.c	Tue Aug 12 17:53:59 2008 +0000
+++ b/mlpdec.c	Tue Aug 12 18:05:58 2008 +0000
@@ -584,8 +584,7 @@
         }
 
         for (i = 0; i < order; i++)
-            fp->coeff[i] =
-                    get_sbits(gbp, coeff_bits) << coeff_shift;
+            fp->coeff[i] = get_sbits(gbp, coeff_bits) << coeff_shift;
 
         if (get_bits1(gbp)) {
             int state_bits, state_shift;
@@ -602,8 +601,7 @@
             /* TODO: Check validity of state data. */
 
             for (i = 0; i < order; i++)
-                fp->state[i] =
-                    get_sbits(gbp, state_bits) << state_shift;
+                fp->state[i] = get_sbits(gbp, state_bits) << state_shift;
         }
     }
 
@@ -753,8 +751,7 @@
     int j, i;
 
     for (j = 0; j < NUM_FILTERS; j++) {
-        memcpy(&   filter_state_buffer  [j][MAX_BLOCKSIZE],
-               &fp[j]->state[0],
+        memcpy(&filter_state_buffer[j][MAX_BLOCKSIZE], &fp[j]->state[0],
                MAX_FILTER_ORDER * sizeof(int32_t));
     }
 
@@ -769,7 +766,7 @@
         for (j = 0; j < NUM_FILTERS; j++)
             for (order = 0; order < fp[j]->order; order++)
                 accum += (int64_t)filter_state_buffer[j][index + order] *
-                        fp[j]->coeff[order];
+                                  fp[j]->coeff[order];
 
         accum  = accum >> filter_shift;
         result = (accum + residual) & mask;
@@ -783,8 +780,7 @@
     }
 
     for (j = 0; j < NUM_FILTERS; j++) {
-        memcpy(&fp[j]->state[0],
-               &   filter_state_buffer  [j][index],
+        memcpy(&fp[j]->state[0], &filter_state_buffer[j][index],
                MAX_FILTER_ORDER * sizeof(int32_t));
     }
 }