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

ramiro subversion at mplayerhq.hu
Tue Jul 1 18:59:47 CEST 2008


Author: ramiro
Date: Tue Jul  1 18:59:47 2008
New Revision: 2651

Log:
Declare var closer to where it's used.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Tue Jul  1 18:59:47 2008
@@ -897,7 +897,7 @@ static void generate_noise_2(MLPDecodeCo
 static void rematrix_channels(MLPDecodeContext *m, unsigned int substr)
 {
     SubStream *s = &m->substream[substr];
-    unsigned int mat, dest_ch, src_ch, i;
+    unsigned int mat, src_ch, i;
     unsigned int maxchan;
 
     maxchan = s->max_matrix_channel;
@@ -909,7 +909,7 @@ static void rematrix_channels(MLPDecodeC
     }
 
     for (mat = 0; mat < s->num_primitive_matrices; mat++) {
-        dest_ch = s->matrix_ch[mat];
+        unsigned int dest_ch = s->matrix_ch[mat];
 
         /* TODO: DSPContext? */
 



More information about the FFmpeg-soc mailing list