av_parse_cpu_caps: add "mmxext" as alias for mmx2
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Aug 2012 19:28:31 +0000 (21:28 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 16 Aug 2012 20:04:46 +0000 (22:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/cpu.c

index a31ed5e..63c6d36 100644 (file)
@@ -120,6 +120,7 @@ int av_parse_cpu_caps(unsigned *flags, const char *s)
 #elif ARCH_X86
         { "mmx"     , NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_MMX      },    .unit = "flags" },
         { "mmx2"    , NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_MMX2     },    .unit = "flags" },
+        { "mmxext"  , NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_MMX2     },    .unit = "flags" },
         { "sse"     , NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_SSE      },    .unit = "flags" },
         { "sse2"    , NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_SSE2     },    .unit = "flags" },
         { "sse2slow", NULL, 0, AV_OPT_TYPE_CONST, { AV_CPU_FLAG_SSE2SLOW },    .unit = "flags" },