diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-08 18:42:12 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-08-03 22:51:05 +0200 |
commit | 239fdf1b4a3dd9decad157d4694837cffa917021 (patch) | |
tree | a92ed88dd8a7bf975f10ff638f1fa2d256de657e /libavcodec/x86/ac3dsp_mmx.c | |
parent | 66adb7ce1bc1cc5e3f1c4b1cd9f20ac68086a486 (diff) |
x86: build: replace mmx2 by mmxext
Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
So switching to a consistent naming scheme beforehand is sensible.
The name "mmxext" is more official and widespread and also the name
of the CPU flag, as reported e.g. by the Linux kernel.
Diffstat (limited to 'libavcodec/x86/ac3dsp_mmx.c')
-rw-r--r-- | libavcodec/x86/ac3dsp_mmx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/ac3dsp_mmx.c b/libavcodec/x86/ac3dsp_mmx.c index 1a43183aa0..0ac8685c6d 100644 --- a/libavcodec/x86/ac3dsp_mmx.c +++ b/libavcodec/x86/ac3dsp_mmx.c @@ -65,7 +65,7 @@ av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact) c->float_to_fixed24 = ff_float_to_fixed24_3dnow; } } - if (mm_flags & AV_CPU_FLAG_MMX2 && HAVE_MMX2) { + if (mm_flags & AV_CPU_FLAG_MMXEXT && HAVE_MMXEXT) { c->ac3_exponent_min = ff_ac3_exponent_min_mmxext; c->ac3_max_msb_abs_int16 = ff_ac3_max_msb_abs_int16_mmx2; } |