avutil/cpu: add missing check for mmxext to av_force_cpu_flags
authorJames Almer <jamrial@gmail.com>
Thu, 26 Mar 2015 05:11:55 +0000 (02:11 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 29 Mar 2015 01:10:34 +0000 (22:10 -0300)
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 1f5d1eed78fad63f1c80a3766d3dc2421b99104d)

libavutil/cpu.c

index 53c1227..1617464 100644 (file)
@@ -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 |