[FFmpeg-soc] [soc]: r3230 - mlp/mlpenc.c
ramiro
subversion at mplayerhq.hu
Wed Aug 13 22:08:28 CEST 2008
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);
More information about the FFmpeg-soc
mailing list