diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-10-20 15:43:16 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-10-20 16:19:27 +0200 |
commit | 265980dabc2833a7d751edd6993d258f0048f48e (patch) | |
tree | 2c25bf958adb636121ae0e0aafd1578c204208d6 /libavcodec/x86/vp8dsp-init.c | |
parent | 2cb7c8166920aa8dbb969de9befd0981b5a8f2ad (diff) | |
download | ffmpeg-265980dabc2833a7d751edd6993d258f0048f48e.tar.gz |
x86: Move some variable declarations below the appropriat #ifdef.
This avoids some unused variable warnings with YASM disabled.
Diffstat (limited to 'libavcodec/x86/vp8dsp-init.c')
-rw-r--r-- | libavcodec/x86/vp8dsp-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/vp8dsp-init.c b/libavcodec/x86/vp8dsp-init.c index 8b27b0dadc..f5e89faa3c 100644 --- a/libavcodec/x86/vp8dsp-init.c +++ b/libavcodec/x86/vp8dsp-init.c @@ -283,9 +283,9 @@ DECLARE_LOOP_FILTER(sse4) av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) { +#if HAVE_YASM int mm_flags = av_get_cpu_flags(); -#if HAVE_YASM if (mm_flags & AV_CPU_FLAG_MMX) { c->vp8_idct_dc_add = ff_vp8_idct_dc_add_mmx; c->vp8_idct_dc_add4y = ff_vp8_idct_dc_add4y_mmx; |