changeset 21400:6fe9c6a0c4b0

fix incorrect 4:4:4 chroma handling (backport from 0.4.1)
author henry
date Fri, 01 Dec 2006 17:49:59 +0000
parents 111bc7023189
children 4a5045cd7c0c
files libmpeg2/slice.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpeg2/slice.c	Fri Dec 01 17:47:55 2006 +0000
+++ b/libmpeg2/slice.c	Fri Dec 01 17:49:59 2006 +0000
@@ -1252,7 +1252,7 @@
 	      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)