[FFmpeg-soc] [soc]: r1122 - rv40/rv40.c

kostya subversion at mplayerhq.hu
Tue Aug 21 08:16:46 CEST 2007


Author: kostya
Date: Tue Aug 21 08:16:46 2007
New Revision: 1122

Log:
bits variable is not used

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Tue Aug 21 08:16:46 2007
@@ -661,13 +661,12 @@ static inline int rv40_decode_dquant(Get
  */
 static inline int get_omega(GetBitContext *gb)
 {
-    int bits = 0, code = 1, t, tb;
+    int code = 1, t, tb;
 
     for(;;){
         t = get_vlc2(gb, mbinfo_vlc.table, MBINFO_BITS, 1);
         tb = t >> 5;
         code = (code << tb) | (t & 0xF);
-        bits += tb;
         if(t & 0x10) break;
     }
     return code;



More information about the FFmpeg-soc mailing list