diff x86/cavsdsp_mmx.c @ 12456:a5ddb39627fd libavcodec

Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_ symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
author stefano
date Sat, 04 Sep 2010 09:59:08 +0000
parents fe78a4548d12
children 9fef0a8ddd63
line wrap: on
line diff
--- a/x86/cavsdsp_mmx.c	Fri Sep 03 21:13:01 2010 +0000
+++ b/x86/cavsdsp_mmx.c	Sat Sep 04 09:59:08 2010 +0000
@@ -474,6 +474,6 @@
 {
     int mm_flags = mm_support();
 
-    if (mm_flags & FF_MM_MMX2)  ff_cavsdsp_init_mmx2 (c, avctx);
-    if (mm_flags & FF_MM_3DNOW) ff_cavsdsp_init_3dnow(c, avctx);
+    if (mm_flags & AV_CPU_FLAG_MMX2)  ff_cavsdsp_init_mmx2 (c, avctx);
+    if (mm_flags & AV_CPU_FLAG_3DNOW) ff_cavsdsp_init_3dnow(c, avctx);
 }