diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-10-22 11:37:42 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-10-22 11:37:42 +0200 |
commit | 775b84e30ef240a7ac23596c407ef1a637e71447 (patch) | |
tree | 6f02c0c4ee865ba604d4dcd3991801f258323540 | |
parent | c52c78cc568f60929a0e1752f1c36123860f326e (diff) | |
download | ffmpeg-775b84e30ef240a7ac23596c407ef1a637e71447.tar.gz |
lavc/x86/vc1dsp_init: Fix compilation with --disable-yasm.
-rw-r--r-- | libavcodec/x86/vc1dsp_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/vc1dsp_init.c b/libavcodec/x86/vc1dsp_init.c index 8c5fc20984..1747305d1f 100644 --- a/libavcodec/x86/vc1dsp_init.c +++ b/libavcodec/x86/vc1dsp_init.c @@ -98,10 +98,10 @@ av_cold void ff_vc1dsp_init_x86(VC1DSPContext *dsp) { int cpu_flags = av_get_cpu_flags(); - if (HAVE_6REGS && INLINE_MMX(cpu_flags)) + if (HAVE_6REGS && INLINE_MMX(cpu_flags) && EXTERNAL_MMX(cpu_flags)) ff_vc1dsp_init_mmx(dsp); - if (HAVE_6REGS && INLINE_MMXEXT(cpu_flags)) + if (HAVE_6REGS && INLINE_MMXEXT(cpu_flags) && EXTERNAL_MMXEXT(cpu_flags)) ff_vc1dsp_init_mmxext(dsp); #define ASSIGN_LF(EXT) \ |