From 01c5779f56cf708e6cb88b11cfdc248cae7e2ee8 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 26 Mar 2014 04:41:25 -0700 Subject: x86: Drop some unnecessary YASM ifdefs Dead code elimination is enough to avoid undefined references in these cases. --- libavcodec/x86/h264chroma_init.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/x86/h264chroma_init.c') diff --git a/libavcodec/x86/h264chroma_init.c b/libavcodec/x86/h264chroma_init.c index eec1653d3f..8ec8a79aba 100644 --- a/libavcodec/x86/h264chroma_init.c +++ b/libavcodec/x86/h264chroma_init.c @@ -69,7 +69,6 @@ CHROMA_MC(avg, 8, 10, avx) av_cold void ff_h264chroma_init_x86(H264ChromaContext *c, int bit_depth) { -#if HAVE_YASM int high_bit_depth = bit_depth > 8; int cpu_flags = av_get_cpu_flags(); @@ -115,5 +114,4 @@ av_cold void ff_h264chroma_init_x86(H264ChromaContext *c, int bit_depth) c->put_h264_chroma_pixels_tab[0] = ff_put_h264_chroma_mc8_10_avx; c->avg_h264_chroma_pixels_tab[0] = ff_avg_h264_chroma_mc8_10_avx; } -#endif } -- cgit v1.2.3