diff options
author | Carl Eugen Hoyos | 2012-09-01 10:59:16 +0200 |
---|---|---|
committer | Carl Eugen Hoyos | 2012-09-01 10:59:16 +0200 |
commit | a26789cf9f8000a040a4f4481e0f3552cf63dc68 (patch) | |
tree | ddbaa9b84e427c4538745673c3755b05e3ef6e3d /libavcodec/x86/proresdsp_init.c | |
parent | d55252c33156a53dae8e1beba73b163724dec8cf (diff) |
Fix compilation with yasm-0.6.2.
Diffstat (limited to 'libavcodec/x86/proresdsp_init.c')
-rw-r--r-- | libavcodec/x86/proresdsp_init.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c index a99a938de2..5892af2518 100644 --- a/libavcodec/x86/proresdsp_init.c +++ b/libavcodec/x86/proresdsp_init.c @@ -47,11 +47,9 @@ void ff_proresdsp_x86_init(ProresDSPContext *dsp, AVCodecContext *avctx) dsp->idct_put = ff_prores_idct_put_10_sse4; } -#if HAVE_AVX - if (flags & AV_CPU_FLAG_AVX) { + if (HAVE_AVX_EXTERNAL && flags & AV_CPU_FLAG_AVX) { dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; dsp->idct_put = ff_prores_idct_put_10_avx; } -#endif /* HAVE_AVX */ #endif /* ARCH_X86_64 && HAVE_YASM */ } |