From 48fa22d74716f1ebb384c24324427bc38d8a29c6 Mon Sep 17 00:00:00 2001 From: Mike Melanson Date: Sun, 16 Oct 2005 13:56:52 +0000 Subject: [PATCH] chroma decoding fix by Kostya Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/truemotion2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 543a7728fa..42487bf32b 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -413,7 +413,7 @@ static inline void tm2_low_chroma(int *data, int stride, int *clast, int *CD, in else prev = 0; t = (CD[0] + CD[1]) >> 1; - l = (prev - CD[0] - CD[1] + clast[1] + 1) >> 1; + l = (prev - CD[0] - CD[1] + clast[1]) >> 1; CD[1] = CD[0] + CD[1] - t; CD[0] = t; clast[0] = l;