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

kostya subversion at mplayerhq.hu
Mon Sep 17 18:51:28 CEST 2007


Author: kostya
Date: Mon Sep 17 18:51:28 2007
New Revision: 1364

Log:
Simplify check

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Mon Sep 17 18:51:28 2007
@@ -456,9 +456,8 @@ static inline void rv40_dequant4x4(DCTEL
     block += offset;
     block[0] = (block[0] * Qdc + 8) >> 4;
     for(i = 0; i < 4; i++)
-        for(j = 0; j < 4; j++)
-            if(i || j)
-                block[j + i*8] = (block[j + i*8] * Q + 8) >> 4;
+        for(j = !i; j < 4; j++)
+            block[j + i*8] = (block[j + i*8] * Q + 8) >> 4;
 }
 
 /**



More information about the FFmpeg-soc mailing list