diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-09-19 10:47:38 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-22 23:45:03 +0200 |
commit | 0544c95fd6d0e3c1072554f9d13baf45af7fbf56 (patch) | |
tree | 6668561c6d9fb48bf7610a87a1139ac874bdc648 | |
parent | 4f90818ea12e5af7677dc80d315354024e16815f (diff) | |
download | ffmpeg-0544c95fd6d0e3c1072554f9d13baf45af7fbf56.tar.gz |
avcodec/x86/mpegaudiodsp: 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/mpegaudiodsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mpegaudiodsp.c b/libavcodec/x86/mpegaudiodsp.c index 298dc2dbda..d969f1df38 100644 --- a/libavcodec/x86/mpegaudiodsp.c +++ b/libavcodec/x86/mpegaudiodsp.c @@ -241,7 +241,7 @@ DECL_IMDCT_BLOCKS(avx,avx) av_cold void ff_mpadsp_init_x86(MPADSPContext *s) { - int cpu_flags = av_get_cpu_flags(); + av_unused int cpu_flags = av_get_cpu_flags(); int i, j; for (j = 0; j < 4; j++) { |