diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 10:43:37 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-22 23:45:03 +0200 |
commit | 4f90818ea12e5af7677dc80d315354024e16815f (patch) | |
tree | 323fc01afd83f1ed499532170efd6d29d15e03ec | |
parent | 118b1ba43bfa53ffdd18955f8057ca3763aa1975 (diff) | |
download | ffmpeg-4f90818ea12e5af7677dc80d315354024e16815f.tar.gz |
avcodec/x86/rv40dsp_init: silence -Wunused-variable on --disable-mmx
This silences -Wunused-variable when compiled with --disable-mmx, e.g
http://fate.ffmpeg.org/log.cgi?time=20150919094617&log=compile&slot=x86_64-archlinux-gcc-disable-mmx.
The alternative of header guards will make it far too ugly.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/x86/rv40dsp_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/rv40dsp_init.c b/libavcodec/x86/rv40dsp_init.c index bbf9c785f6..12b85c9450 100644 --- a/libavcodec/x86/rv40dsp_init.c +++ b/libavcodec/x86/rv40dsp_init.c @@ -214,7 +214,7 @@ DEFINE_FN(avg, 16, mmx) av_cold void ff_rv40dsp_init_x86(RV34DSPContext *c) { - int cpu_flags = av_get_cpu_flags(); + av_unused int cpu_flags = av_get_cpu_flags(); #if HAVE_MMX_INLINE if (INLINE_MMX(cpu_flags)) { |