1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

Correctly implement:

commit c0ec9918b0
	Author: Måns Rullgård <mans@mansr.com>
	Date:   Tue Aug 24 17:47:05 2010 +0000
	Remove global mm_flags variable

	Originally committed as revision 24909 to svn://svn.ffmpeg.org/ffmpeg/trunk

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-02-26 22:51:56 +01:00
parent fcd62e1265
commit 1511936034

View File

@ -637,7 +637,11 @@ static inline void emms(void)
__asm__ volatile ("emms;":::"memory");
}
#define emms_c() emms()
#define emms_c() \
{\
if(av_get_cpu_flags() & AV_CPU_FLAG_MMX)\
emms();\
}
#elif ARCH_ARM