changeset 2912:4b3626936f09 libavcodec

chroma decoding fix by Kostya
author melanson
date Sun, 16 Oct 2005 13:56:52 +0000
parents 7f2959d05900
children cc55bc1f8d92
files truemotion2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/truemotion2.c	Sat Oct 15 16:29:58 2005 +0000
+++ b/truemotion2.c	Sun Oct 16 13:56:52 2005 +0000
@@ -413,7 +413,7 @@
     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;