diff --git a/libavcodec/ppc/mpegvideo_altivec.c b/libavcodec/ppc/mpegvideo_altivec.c index 3dc6db273b..a2ba5e1251 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) {