diff x86/h264dsp_mmx.c @ 8758:93980b03673e libavcodec

fix typo in h264dsp_mmx (no effect currently as the function is not used), approved by Dark Shikari on IRC
author bcoudurier
date Sun, 08 Feb 2009 06:35:21 +0000
parents 7a463923ecd1
children ef3a7b711cc0
line wrap: on
line diff
--- a/x86/h264dsp_mmx.c	Sun Feb 08 06:11:50 2009 +0000
+++ b/x86/h264dsp_mmx.c	Sun Feb 08 06:35:21 2009 +0000
@@ -535,7 +535,7 @@
 
 static void ff_h264_idct_add8_sse2(uint8_t **dest, const int *block_offset, DCTELEM *block, int stride, const uint8_t nnzc[6*8]){
     int i;
-    for(i=16; i<16+8; i++){
+    for(i=16; i<16+8; i+=2){
         if(nnzc[ scan8[i+0] ]|nnzc[ scan8[i+1] ])
             ff_x264_add8x4_idct_sse2 (dest[(i&4)>>2] + block_offset[i], block + i*16, stride);
         else if(block[i*16]|block[i*16+16])