]> git.sesse.net Git - ffmpeg/commitdiff
swscale: add missing HAVE_INLINE_ASM check.
authorRonald S. Bultje <rsbultje@gmail.com>
Sun, 22 Jul 2012 20:55:58 +0000 (13:55 -0700)
committerRonald S. Bultje <rsbultje@gmail.com>
Mon, 23 Jul 2012 02:46:47 +0000 (19:46 -0700)
The function called in this block is under HAVE_INLINE_ASM itself also.

libswscale/swscale.c

index 7ae5af37a8f39dea7f2097c979b81137e36a2a02..5cfa7f237de12a93c37141441e4018eaaef8246c 100644 (file)
@@ -518,7 +518,7 @@ static int swScale(SwsContext *c, const uint8_t *src[],
         if (!enough_lines)
             break;  // we can't output a dstY line so let's try with the next slice
 
-#if HAVE_MMX
+#if HAVE_MMX && HAVE_INLINE_ASM
         updateMMXDitherTables(c, dstY, lumBufIndex, chrBufIndex,
                               lastInLumBuf, lastInChrBuf);
 #endif