chroma decoding fix by Kostya

Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Mike Melanson 2005-10-16 13:56:52 +00:00
parent e6885654eb
commit 48fa22d747
1 changed files with 1 additions and 1 deletions

View File

@ -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;