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) {