From 353f87b8d44f84b0e7b242788c4447e7fbd06361 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 8 Feb 2009 06:35:21 +0000 Subject: [PATCH] fix typo in h264dsp_mmx (no effect currently as the function is not used), approved by Dark Shikari on IRC Originally committed as revision 17046 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/x86/h264dsp_mmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/x86/h264dsp_mmx.c b/libavcodec/x86/h264dsp_mmx.c index 9342d78ea0..bf96613c33 100644 --- a/libavcodec/x86/h264dsp_mmx.c +++ b/libavcodec/x86/h264dsp_mmx.c @@ -535,7 +535,7 @@ static void ff_h264_idct_add16intra_sse2(uint8_t *dst, const int *block_offset, 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])