[FFmpeg-soc] [soc]: r1382 - rv40/rv34.c

kostya subversion at mplayerhq.hu
Thu Sep 20 06:49:46 CEST 2007


Author: kostya
Date: Thu Sep 20 06:49:46 2007
New Revision: 1382

Log:
Make initialization consistent

Modified:
   rv40/rv34.c

Modified: rv40/rv34.c
==============================================================================
--- rv40/rv34.c	(original)
+++ rv40/rv34.c	Thu Sep 20 06:49:46 2007
@@ -59,10 +59,9 @@ static int rv34_gen_vlc(const uint8_t *b
     int counts[17] = {0}, codes[17];
     uint16_t cw[size], syms[size];
     uint8_t bits[size];
-    int maxbits = 0, realsize;
+    int maxbits = 0, realsize = 0;
     int ret;
 
-    realsize = 0;
     for(i = 0; i < size; i++){
         if(bits2[i]){
             bits[realsize] = bits2[i];



More information about the FFmpeg-soc mailing list