aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/x86
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 /libavfilter/x86
parentb718b24bbe83d3e8787c1dc6449ccbffcd13a4e7 (diff)
downloadffmpeg-01c5779f56cf708e6cb88b11cfdc248cae7e2ee8.tar.gz
x86: Drop some unnecessary YASM ifdefs
Dead code elimination is enough to avoid undefined references in these cases.
Diffstat (limited to 'libavfilter/x86')
-rw-r--r--libavfilter/x86/vf_yadif_init.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/x86/vf_yadif_init.c b/libavfilter/x86/vf_yadif_init.c
index 995bdab2d8..510a02394c 100644
--- a/libavfilter/x86/vf_yadif_init.c
+++ b/libavfilter/x86/vf_yadif_init.c
@@ -38,7 +38,6 @@ void ff_yadif_filter_line_ssse3(void *dst, void *prev, void *cur,
av_cold void ff_yadif_init_x86(YADIFContext *yadif)
{
-#if HAVE_YASM
int cpu_flags = av_get_cpu_flags();
#if ARCH_X86_32
@@ -49,5 +48,4 @@ av_cold void ff_yadif_init_x86(YADIFContext *yadif)
yadif->filter_line = ff_yadif_filter_line_sse2;
if (EXTERNAL_SSSE3(cpu_flags))
yadif->filter_line = ff_yadif_filter_line_ssse3;
-#endif /* HAVE_YASM */
}