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

gpoirier subversion
Tue Feb 19 08:19:16 CET 2008


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;
 
     if (s->avctx->lowres==0)
     {




More information about the ffmpeg-cvslog mailing list