Fix 10L in r16670 (broke deblocking code)
authorJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 18 Jan 2009 07:20:12 +0000 (07:20 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sun, 18 Jan 2009 07:20:12 +0000 (07:20 +0000)
Originally committed as revision 16671 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1.c

index 115ee71..433df7b 100644 (file)
@@ -334,7 +334,7 @@ static int av_always_inline vc1_filter_line(uint8_t* src, int stride, int pq){
                 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);