From 9d8109ad0fa0e0b85b7c7dfd737285537d6ad218 Mon Sep 17 00:00:00 2001 From: Guillaume Poirier Date: Tue, 19 Feb 2008 07:19:15 +0000 Subject: [PATCH] 10l: fix always false test: Binary & has lower precedence than == Originally committed as revision 12141 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/mpegvideo_altivec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 3b5e65106d..94c2a19229 100644 --- a/libavcodec/ppc/mpegvideo_altivec.c +++ b/libavcodec/ppc/mpegvideo_altivec.c @@ -603,7 +603,7 @@ extern void idct_add_altivec(uint8_t *dest, int line_size, int16_t *block); 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) {