diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-03-26 04:41:25 -0700 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-04-04 19:08:05 +0200 |
commit | 01c5779f56cf708e6cb88b11cfdc248cae7e2ee8 (patch) | |
tree | 1424146b88fb5c2167edcc0a71c4ca3a903bc1a0 /libavcodec/x86/h264chroma_init.c | |
parent | b718b24bbe83d3e8787c1dc6449ccbffcd13a4e7 (diff) |
x86: Drop some unnecessary YASM ifdefs
Dead code elimination is enough to avoid undefined references in these cases.
Diffstat (limited to 'libavcodec/x86/h264chroma_init.c')
-rw-r--r-- | libavcodec/x86/h264chroma_init.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 } |