[FFmpeg-soc] [soc]: r2558 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Mon Jun 23 13:20:22 CEST 2008


Author: ramiro
Date: Mon Jun 23 13:20:22 2008
New Revision: 2558

Log:
Add brackets to minimize next commit.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Mon Jun 23 13:20:22 2008
@@ -721,9 +721,10 @@ static int filter_sample(MLPDecodeContex
     /* TODO: Move this code to DSPContext? */
 
     for (j = 0; j < 2; j++)
-        for (i = 0; i < m->filter_order[channel][j]; i++)
+        for (i = 0; i < m->filter_order[channel][j]; i++) {
             accum += (int64_t)m->filter_state[channel][j][i] *
                      m->filter_coeff[channel][j][i];
+        }
 
     accum = accum >> m->filter_coeff_q[channel][FIR];
     result = (accum + residual)



More information about the FFmpeg-soc mailing list