diff ppc/mpegvideo_altivec.c @ 8104:0d108ec85620 libavcodec

Remove duplicated MM_* macros for CPU capabilities from dsputil.h. Add missing one for FF_MM_ALTIVEC to avcodec.h. Rename all the occurences of MM_* to the corresponding FF_MM_*.
author rathann
date Mon, 03 Nov 2008 18:08:00 +0000
parents 266d4949aa15
children cf4d575b1982
line wrap: on
line diff
--- a/ppc/mpegvideo_altivec.c	Sun Nov 02 21:51:27 2008 +0000
+++ b/ppc/mpegvideo_altivec.c	Mon Nov 03 18:08:00 2008 +0000
@@ -590,7 +590,7 @@
 
 void MPV_common_init_altivec(MpegEncContext *s)
 {
-    if ((mm_flags & MM_ALTIVEC) == 0) return;
+    if ((mm_flags & FF_MM_ALTIVEC) == 0) return;
 
     if (s->avctx->lowres==0) {
         if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||