[FFmpeg-cvslog] r14033 - trunk/libavcodec/armv4l/dsputil_arm.c
benoit
subversion
Mon Jun 30 13:16:47 CEST 2008
Author: benoit
Date: Mon Jun 30 13:16:47 2008
New Revision: 14033
Log:
Simplify mm_support() for ARM (by M?ns).
Modified:
trunk/libavcodec/armv4l/dsputil_arm.c
Modified: trunk/libavcodec/armv4l/dsputil_arm.c
==============================================================================
--- trunk/libavcodec/armv4l/dsputil_arm.c (original)
+++ trunk/libavcodec/armv4l/dsputil_arm.c Mon Jun 30 13:16:47 2008
@@ -205,11 +205,7 @@ static void simple_idct_ipp_add(uint8_t
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)
More information about the ffmpeg-cvslog
mailing list