[FFmpeg-soc] [soc]: r3508 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 21 05:08:10 CEST 2008


Author: ramiro
Date: Thu Aug 21 05:08:10 2008
New Revision: 3508

Log:
Rename variable.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 21 05:08:10 2008
@@ -422,7 +422,7 @@ static void code_filter_coeffs(MLPEncode
 {
     int min = INT_MAX, max = INT_MIN;
     int bits, shift;
-    int or = 0;
+    int coeff_mask = 0;
     int order;
 
     for (order = 0; order < fp->order; order++) {
@@ -433,12 +433,12 @@ static void code_filter_coeffs(MLPEncode
         if (coeff > max)
             max = coeff;
 
-        or |= coeff;
+        coeff_mask |= coeff;
     }
 
     bits = FFMAX(number_sbits(min), number_sbits(max));
 
-    for (shift = 0; shift < 7 && !(or & (1<<shift)); shift++);
+    for (shift = 0; shift < 7 && !(coeff_mask & (1<<shift)); shift++);
 
     *pcoeff_bits  = bits;
     *pcoeff_shift = shift;



More information about the FFmpeg-soc mailing list