aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-03-26 02:11:55 -0300
committerJames Almer <jamrial@gmail.com>2015-03-28 22:10:50 -0300
commitb46840475ed607d743e839827d825ceca31b2a96 (patch)
tree4c2f7d18ceac9d17ebb972a37ab751413a09a079
parentd0599a3516c5da31c7009af7574abbff360b9ce6 (diff)
downloadffmpeg-b46840475ed607d743e839827d825ceca31b2a96.tar.gz
avutil/cpu: add missing check for mmxext to av_force_cpu_flags
Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 1f5d1eed78fad63f1c80a3766d3dc2421b99104d)
-rw-r--r--libavutil/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 53c12273ef..1617464980 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -49,6 +49,7 @@ static int flags, checked;
void av_force_cpu_flags(int arg){
if ( (arg & ( AV_CPU_FLAG_3DNOW |
AV_CPU_FLAG_3DNOWEXT |
+ AV_CPU_FLAG_MMXEXT |
AV_CPU_FLAG_SSE |
AV_CPU_FLAG_SSE2 |
AV_CPU_FLAG_SSE2SLOW |