fix incorrect 4:4:4 chroma handling (backport from 0.4.1)
authorhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 1 Dec 2006 17:49:59 +0000 (17:49 +0000)
committerhenry <henry@b3059339-0415-0410-9bf9-f77b7e298cf2>
Fri, 1 Dec 2006 17:49:59 +0000 (17:49 +0000)
git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@21416 b3059339-0415-0410-9bf9-f77b7e298cf2

libmpeg2/slice.c

index 0cba9f3..31a8250 100644 (file)
@@ -1252,7 +1252,7 @@ static inline void slice_non_intra_DCT (mpeg2_decoder_t * const decoder,
              ref[0] + offset, decoder->stride, 16);                          \
     table[4] (decoder->dest[1] + decoder->offset,                            \
              ref[1] + offset, decoder->stride, 16);                          \
-    table[4] (decoder->dest[2] + (decoder->offset >> 1),                     \
+    table[4] (decoder->dest[2] + decoder->offset,                            \
              ref[2] + offset, decoder->stride, 16)
 
 #define bit_buf (decoder->bitstream_buf)