diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2011-05-22 13:41:13 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-05-22 13:41:13 +0200 |
commit | e6c1791b471e4dd03d8fd33d02307d9d9eae948d (patch) | |
tree | b43b32946534e1fb2cc46a127bf43935748c67fe | |
parent | bf8bb94322d92134206392c3f238a58c424b1c9e (diff) | |
download | ffmpeg-e6c1791b471e4dd03d8fd33d02307d9d9eae948d.tar.gz |
Fix compilation with --disable-yasm.
-rw-r--r-- | libavcodec/x86/fft.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/fft.c b/libavcodec/x86/fft.c index fb8329c011..18964d88ca 100644 --- a/libavcodec/x86/fft.c +++ b/libavcodec/x86/fft.c @@ -56,11 +56,13 @@ av_cold void ff_fft_init_mmx(FFTContext *s) #if CONFIG_DCT av_cold void ff_dct_init_mmx(DCTContext *s) { +#if HAVE_YASM int has_vectors = av_get_cpu_flags(); if (has_vectors & AV_CPU_FLAG_AVX && HAVE_AVX) s->dct32 = ff_dct32_float_avx; else if (has_vectors & AV_CPU_FLAG_SSE && HAVE_SSE) s->dct32 = ff_dct32_float_sse; +#endif } #endif |