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

kostya subversion at mplayerhq.hu
Tue Jul 10 07:18:35 CEST 2007


Author: kostya
Date: Tue Jul 10 07:18:35 2007
New Revision: 363

Log:
Fix reading of nonstandard dimension

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Tue Jul 10 07:18:35 2007
@@ -392,9 +392,10 @@ static inline int get_dimension(GetBitCo
 {
     int val, t;
 
-    val = dim1[get_bits(gb, 3)];
+    t = get_bits(gb, 3);
+    val = dim1[t];
     if(!val && dim2)
-        val = dim2[(val | get_bits1(gb)) & 3];
+        val = dim2[(t | get_bits1(gb)) & 3];
     if(!val){
         do{
             t = get_bits(gb, 8);



More information about the FFmpeg-soc mailing list