]> git.sesse.net Git - ffmpeg/commitdiff
dirac/x86: fix compile without inline asm
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jan 2013 01:41:31 +0000 (02:41 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 30 Jan 2013 01:51:59 +0000 (02:51 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/dsputil_mmx.c

index dcf23459544b12bcfa4ea5615f4e1c5d12d758d3..d1e7bea42e3a746d830572b1e1331aeb76565745 100644 (file)
@@ -1634,8 +1634,10 @@ void ff_ ## OPNAME2 ## _dirac_pixels32_ ## EXT(uint8_t *dst, const uint8_t *src[
     }\
 }
 
+#if HAVE_MMX_INLINE
 DIRAC_PIXOP(put, put, mmx)
 DIRAC_PIXOP(avg, avg, mmx)
+#endif
 DIRAC_PIXOP(avg, ff_avg, mmxext)
 
 #if HAVE_YASM