diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-08-21 09:57:50 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-21 17:06:27 +0200 |
commit | 907373ea9d23f782d438dd18babfd75cb5ab305a (patch) | |
tree | fcff953291e345dc00fc64d867d73cafda6c3c92 /libavcodec/x86 | |
parent | 92b1a0fa9e7b67c2d549498274e1f2902178fa12 (diff) | |
download | ffmpeg-907373ea9d23f782d438dd18babfd75cb5ab305a.tar.gz |
avcodec/x86/v210-init: fix unused variable warning
Fixes a -Wunused-variable while compiling with --disable-yasm on x86
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r-- | libavcodec/x86/v210-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/v210-init.c b/libavcodec/x86/v210-init.c index dfdfd2631b..f579307aa0 100644 --- a/libavcodec/x86/v210-init.c +++ b/libavcodec/x86/v210-init.c @@ -27,9 +27,9 @@ extern void ff_v210_planar_unpack_aligned_avx(const uint32_t *src, uint16_t *y, av_cold void ff_v210_x86_init(V210DecContext *s) { +#if HAVE_YASM int cpu_flags = av_get_cpu_flags(); -#if HAVE_YASM if (s->aligned_input) { if (cpu_flags & AV_CPU_FLAG_SSSE3) s->unpack_frame = ff_v210_planar_unpack_aligned_ssse3; |