diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-04-22 04:57:48 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-04-22 17:50:02 +0200 |
commit | c1ad70c3cb0588254d66265578cfb14580dc0b94 (patch) | |
tree | d3f1ef4d5c10b8cfbfc676ba49c6a772ad1e1d5c /libavcodec/x86/mpegvideoenc.c | |
parent | 10f1a4d9bd8239ac64f364e0d3b6423c28230d6d (diff) | |
download | ffmpeg-streaming-c1ad70c3cb0588254d66265578cfb14580dc0b94.zip ffmpeg-streaming-c1ad70c3cb0588254d66265578cfb14580dc0b94.tar.gz |
x86: Move some conditional code around to avoid unused variable warnings
Diffstat (limited to 'libavcodec/x86/mpegvideoenc.c')
-rw-r--r-- | libavcodec/x86/mpegvideoenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/mpegvideoenc.c b/libavcodec/x86/mpegvideoenc.c index c32c0ce..7ecb5d4 100644 --- a/libavcodec/x86/mpegvideoenc.c +++ b/libavcodec/x86/mpegvideoenc.c @@ -83,11 +83,11 @@ extern uint16_t ff_inv_zigzag_direct16[64]; av_cold void ff_MPV_encode_init_x86(MpegEncContext *s) { - int mm_flags = av_get_cpu_flags(); const int dct_algo = s->avctx->dct_algo; if (dct_algo == FF_DCT_AUTO || dct_algo == FF_DCT_MMX) { #if HAVE_MMX_INLINE + int mm_flags = av_get_cpu_flags(); if (INLINE_MMX(mm_flags)) s->dct_quantize = dct_quantize_MMX; #endif |