[FFmpeg-cvslog] av_parse_cpu_caps: add "mmxext" as alias for mmx2

Michael Niedermayer git at videolan.org
Thu Aug 16 22:09:14 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Aug 16 21:28:31 2012 +0200| [540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5] | committer: Michael Niedermayer

av_parse_cpu_caps: add "mmxext" as alias for mmx2

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=540bd5a95faf865feb9aceaf1b8cbbdca8d6a0c5
---

 libavutil/cpu.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index a31ed5e..63c6d36 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" },



More information about the ffmpeg-cvslog mailing list