Author: ramiro
Date: Wed Aug 13 22:08:28 2008
New Revision: 3230

Log:
Do simple calculation in function parameter instead of using a temp variable.

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c        (original)
+++ mlp/mlpenc.c        Wed Aug 13 22:08:28 2008
@@ -323,9 +323,7 @@ static void write_filter_params(MLPEncod
         put_bits(pb, 3, coeff_shift);
 
         for (i = 0; i < fp->order; i++) {
-            int coeff = fp->coeff[i] >> coeff_shift;
-
-            put_sbits(pb, coeff_bits, coeff);
+            put_sbits(pb, coeff_bits, fp->coeff[i] >> coeff_shift);
         }
 
         put_bits(pb, 1, 0);
_______________________________________________
FFmpeg-soc mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-soc

Reply via email to