changeset 7166:74488eb735a6 libavcodec

Simplify mm_support() for ARM (by Mns).
author benoit
date Mon, 30 Jun 2008 11:16:47 +0000
parents b0edd0683fc4
children 9b93a3cf6440
files armv4l/dsputil_arm.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/armv4l/dsputil_arm.c	Mon Jun 30 07:31:41 2008 +0000
+++ b/armv4l/dsputil_arm.c	Mon Jun 30 11:16:47 2008 +0000
@@ -205,11 +205,7 @@
 
 int mm_support(void)
 {
-    int result = 0;
-#ifdef HAVE_IWMMXT
-    result |= MM_IWMMXT;
-#endif /* result */
-    return result;
+    return ENABLE_IWMMXT * MM_IWMMXT;
 }
 
 void dsputil_init_armv4l(DSPContext* c, AVCodecContext *avctx)