summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-04-12 23:38:41 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-04-12 23:38:41 +0200
commit34b78ad04fe3b46a4658f011c776550110be7dc0 (patch)
treea92b5e50c4392c23203621c57f90edd1727670d5 /libavcodec
parented3680bc9b8f7458ed62d252e2da0e141faa0377 (diff)
parenta3cb865310cc10927e90d7b44d65e3a95af547b6 (diff)
downloadffmpeg-streaming-34b78ad04fe3b46a4658f011c776550110be7dc0.zip
ffmpeg-streaming-34b78ad04fe3b46a4658f011c776550110be7dc0.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: x86: dsputil: Move some ifdefs to avoid unused variable warnings Conflicts: libavcodec/x86/dsputil_mmx.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/dsputil_mmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
index 68042bc..cc74c83 100644
--- a/libavcodec/x86/dsputil_mmx.c
+++ b/libavcodec/x86/dsputil_mmx.c
@@ -1482,9 +1482,9 @@ static av_cold void dsputil_init_mmxext(DSPContext *c, AVCodecContext *avctx,
static av_cold void dsputil_init_sse(DSPContext *c, AVCodecContext *avctx,
int mm_flags)
{
+#if HAVE_INLINE_ASM
const int high_bit_depth = avctx->bits_per_raw_sample > 8;
-#if HAVE_INLINE_ASM
if (!high_bit_depth) {
if (!(CONFIG_MPEG_XVMC_DECODER && avctx->xvmc_acceleration > 1)) {
/* XvMCCreateBlocks() may not allocate 16-byte aligned blocks */
OpenPOWER on IntegriCloud