Commit 48fa22d7 authored by Mike Melanson's avatar Mike Melanson

chroma decoding fix by Kostya

Originally committed as revision 4647 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e6885654
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment