summaryrefslogtreecommitdiff
path: root/libavcodec/x86/h264chroma_init.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-26 04:41:25 -0700
committerDiego Biurrun <diego@biurrun.de>2014-04-04 19:08:05 +0200
commit01c5779f56cf708e6cb88b11cfdc248cae7e2ee8 (patch)
tree1424146b88fb5c2167edcc0a71c4ca3a903bc1a0 /libavcodec/x86/h264chroma_init.c
parentb718b24bbe83d3e8787c1dc6449ccbffcd13a4e7 (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.c2
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
}