changeset 8624:b1663f732e67 libavcodec

Fix 10L in r16670 (broke deblocking code)
author darkshikari
date Sun, 18 Jan 2009 07:20:12 +0000
parents 8f9f86b93f88
children 6f1b210e58d1
files vc1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Sun Jan 18 07:14:36 2009 +0000
+++ b/vc1.c	Sun Jan 18 07:20:12 2009 +0000
@@ -334,7 +334,7 @@
                 d = ((d ^ d_sign) - d_sign) >> 3;
                 d_sign ^= a0_sign;
 
-                if( (d_sign ^ clip_sign) | ~d )
+                if( d_sign ^ clip_sign )
                     d = 0;
                 else{
                     d = FFMIN(d, clip);