[FFmpeg-cvslog] r12141 - trunk/libavcodec/ppc/mpegvideo_altivec.c

Guillaume POIRIER poirierg
Tue Feb 19 08:24:57 CET 2008


Hello,

On Feb 19, 2008 8:19 AM, gpoirier <subversion at mplayerhq.hu> wrote:
> Author: gpoirier
> Date: Tue Feb 19 08:19:15 2008
> New Revision: 12141
>
> Log:
> 10l: fix always false test: Binary & has lower precedence than ==
>
>
> Modified:
>    trunk/libavcodec/ppc/mpegvideo_altivec.c
>
> Modified: trunk/libavcodec/ppc/mpegvideo_altivec.c
> ==============================================================================
> --- trunk/libavcodec/ppc/mpegvideo_altivec.c    (original)
> +++ trunk/libavcodec/ppc/mpegvideo_altivec.c    Tue Feb 19 08:19:15 2008
> @@ -603,7 +603,7 @@ extern void idct_add_altivec(uint8_t *de
>
>  void MPV_common_init_altivec(MpegEncContext *s)
>  {
> -     if (mm_flags & MM_ALTIVEC == 0) return;
> +     if (mm_flags & (MM_ALTIVEC == 0)) return;

Arg, this is a also wrong. I just can't think this early in the morning. ;-)

Fixed in r12143

Guillaume
-- 
A soldier will fight long and hard for a bit of colored ribbon.
 -- Napoleon Bonaparte




More information about the ffmpeg-cvslog mailing list