[FFmpeg-cvslog] r16671 - trunk/libavcodec/vc1.c

Pascal Massimino pascal.massimino
Sun Jan 18 09:08:14 CET 2009


On Sat, Jan 17, 2009 at 11:20 PM, darkshikari <subversion at mplayerhq.hu>wrote:

> Author: darkshikari
> Date: Sun Jan 18 08:20:12 2009
> New Revision: 16671
>
> Log:
> Fix 10L in r16670 (broke deblocking code)
>
> Modified:
>   trunk/libavcodec/vc1.c
>
> Modified: trunk/libavcodec/vc1.c
>
> ==============================================================================
> --- trunk/libavcodec/vc1.c      Sun Jan 18 08:14:36 2009        (r16670)
> +++ trunk/libavcodec/vc1.c      Sun Jan 18 08:20:12 2009        (r16671)
> @@ -334,7 +334,7 @@ static int av_always_inline vc1_filter_l
>                 d = ((d ^ d_sign) - d_sign) >> 3;
>                 d_sign ^= a0_sign;
>
> -                if( (d_sign ^ clip_sign) | ~d )
> +                if( d_sign ^ clip_sign )
>                     d = 0;

you don't use 'd' afterward, btw.

(and you can test the d_sign before multiplying by 5/8 and taking the
absolute value...)


>                 else{
>                     d = FFMIN(d, clip);
> _______________________________________________
> ffmpeg-cvslog mailing list
> ffmpeg-cvslog at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-cvslog
>




More information about the ffmpeg-cvslog mailing list