summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264dsp_init.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-09-01 10:59:16 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-09-01 10:59:16 +0200
commita26789cf9f8000a040a4f4481e0f3552cf63dc68 (patch)
treeddbaa9b84e427c4538745673c3755b05e3ef6e3d /libavcodec/x86/h264dsp_init.c
parentd55252c33156a53dae8e1beba73b163724dec8cf (diff)
Fix compilation with yasm-0.6.2.
Diffstat (limited to 'libavcodec/x86/h264dsp_init.c')
-rw-r--r--libavcodec/x86/h264dsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/h264dsp_init.c b/libavcodec/x86/h264dsp_init.c
index 6fd77be9f4..472f252ba9 100644
--- a/libavcodec/x86/h264dsp_init.c
+++ b/libavcodec/x86/h264dsp_init.c
@@ -292,7 +292,7 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int bit_depth,
c->biweight_h264_pixels_tab[0] = ff_h264_biweight_16_ssse3;
c->biweight_h264_pixels_tab[1] = ff_h264_biweight_8_ssse3;
}
- if (HAVE_AVX && mm_flags & AV_CPU_FLAG_AVX) {
+ if (HAVE_AVX_EXTERNAL && mm_flags & AV_CPU_FLAG_AVX) {
#if HAVE_ALIGNED_STACK
c->h264_v_loop_filter_luma = ff_deblock_v_luma_8_avx;
c->h264_h_loop_filter_luma = ff_deblock_h_luma_8_avx;