aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/cpu.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-16 21:28:31 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-16 22:04:46 +0200
commit540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5 (patch)
tree80cc9415d276c5adf181f747553ec3b054ef6472 /libavutil/cpu.c
parente71df841eec9b1cdb37cf89214385d96b5c5dc4d (diff)
downloadffmpeg-540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5.tar.gz
av_parse_cpu_caps: add "mmxext" as alias for mmx2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/cpu.c')
-rw-r--r--libavutil/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index a31ed5e04b..63c6d3697c 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -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" },