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

kostya subversion at mplayerhq.hu
Tue Aug 21 08:14:53 CEST 2007


Author: kostya
Date: Tue Aug 21 08:14:53 2007
New Revision: 1120

Log:
These tables should be static and uint8_t is enough for them

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Tue Aug 21 08:14:53 2007
@@ -768,10 +768,10 @@ static int rv40_decode_mb_info(RV40DecCo
  */
 
 /** Macroblock partition width in 8x8 blocks */
-const int part_sizes_w[RV40_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2 };
+static const uint8_t part_sizes_w[RV40_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 2, 1, 2, 2 };
 
 /** Macroblock partition height in 8x8 blocks */
-const int part_sizes_h[RV40_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2 };
+static const uint8_t part_sizes_h[RV40_MB_TYPES] = { 2, 2, 2, 1, 2, 2, 2, 2, 1, 2, 2, 2 };
 
 /**
  * Motion vectors prediction



More information about the FFmpeg-soc mailing list