[FFmpeg-cvslog] swscale: add missing HAVE_INLINE_ASM check.
Ronald S. Bultje
git at videolan.org
Mon Jul 23 21:55:21 CEST 2012
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sun Jul 22 13:55:58 2012 -0700| [3b175384bb6491ecd44761e5282ae4c79567db57] | committer: Ronald S. Bultje
swscale: add missing HAVE_INLINE_ASM check.
The function called in this block is under HAVE_INLINE_ASM itself also.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b175384bb6491ecd44761e5282ae4c79567db57
---
libswscale/swscale.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 7ae5af3..5cfa7f2 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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
More information about the ffmpeg-cvslog
mailing list