Commit 0abf0c53 authored by Benoit Fouet's avatar Benoit Fouet

Simplify mm_support() for ARM (by Måns).

Originally committed as revision 14033 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 37dcd091
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment