diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2008-06-30 11:16:47 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-06-30 11:16:47 +0000 |
commit | 0abf0c5398c5784dfb660d4cc1e039a235a7daa4 (patch) | |
tree | 85ec500a6a7ff10564a119e8212c60238ebe992e /libavcodec/armv4l | |
parent | 37dcd091da0aa94cc674d16b445fdfccd84900bc (diff) | |
download | ffmpeg-0abf0c5398c5784dfb660d4cc1e039a235a7daa4.tar.gz |
Simplify mm_support() for ARM (by Måns).
Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/armv4l')
-rw-r--r-- | libavcodec/armv4l/dsputil_arm.c | 6 |
1 files changed, 1 insertions, 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) |