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

kostya subversion at mplayerhq.hu
Thu Aug 9 06:56:19 CEST 2007


Author: kostya
Date: Thu Aug  9 06:56:19 2007
New Revision: 642

Log:
Do not read data when it's not available

Modified:
   rv40/rv40.c

Modified: rv40/rv40.c
==============================================================================
--- rv40/rv40.c	(original)
+++ rv40/rv40.c	Thu Aug  9 06:56:19 2007
@@ -810,7 +810,7 @@ static void rv40_pred_4x4_block(RV40DecC
         if(itype == DIAG_DOWN_LEFT_PRED) itype = DIAG_DOWN_LEFT_PRED_RV40_NODOWN;
         if(itype == HOR_UP_PRED) itype = HOR_UP_PRED_RV40_NODOWN;
     }
-    if(no_right){
+    if(no_right && !no_up){
         topleft = dst[-stride + 3] * 0x01010101;
         prev = &topleft;
     }



More information about the FFmpeg-soc mailing list