From 0abf0c5398c5784dfb660d4cc1e039a235a7daa4 Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Mon, 30 Jun 2008 11:16:47 +0000 Subject: [PATCH] =?UTF-8?q?Simplify=20mm=5Fsupport()=20for=20ARM=20(by=20M?= =?UTF-8?q?=C3=A5ns).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/armv4l/dsputil_arm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/armv4l/dsputil_arm.c b/libavcodec/armv4l/dsputil_arm.c index 43d03a7fa5..af4e470be9 100644 --- a/libavcodec/armv4l/dsputil_arm.c +++ b/libavcodec/armv4l/dsputil_arm.c @@ -205,11 +205,7 @@ static void simple_idct_ipp_add(uint8_t *dest, int line_size, DCTELEM *block) 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)