diff dsputil.c @ 1645:901f928ec1f6 libavcodec

10l
author michael
date Mon, 01 Dec 2003 15:49:10 +0000
parents 835cf346975e
children 1a2db2073848
line wrap: on
line diff
--- a/dsputil.c	Mon Dec 01 15:23:14 2003 +0000
+++ b/dsputil.c	Mon Dec 01 15:49:10 2003 +0000
@@ -2287,7 +2287,7 @@
         src[x-1*stride] = p1;
         src[x+0*stride] = p2;
 
-        ad1= ABS(d1);
+        ad1= ABS(d1)>>1;
         
         d2= clip((p0-p3)/4, -ad1, ad1);