changeset 6369:00a1fa8989d7 libavcodec

10l: fix always false test: Binary & has lower precedence than ==
author gpoirier
date Tue, 19 Feb 2008 07:19:15 +0000
parents 71d8c1fd3d88
children 41486e3abc1a
files ppc/mpegvideo_altivec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/mpegvideo_altivec.c	Mon Feb 18 23:01:26 2008 +0000
+++ b/ppc/mpegvideo_altivec.c	Tue Feb 19 07:19:15 2008 +0000
@@ -603,7 +603,7 @@
 
 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)
     {