[FFmpeg-cvslog] swscale: fix compile on x86-32.

Ronald S. Bultje git at videolan.org
Fri May 27 02:53:56 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Thu May 26 10:36:47 2011 -0400| [e758573a887cfb1155e81499ca54f433127cf24e] | committer: Ronald S. Bultje

swscale: fix compile on x86-32.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e758573a887cfb1155e81499ca54f433127cf24e
---

 libswscale/x86/swscale_template.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libswscale/x86/swscale_template.c b/libswscale/x86/swscale_template.c
index 0de7e94..fd59f76 100644
--- a/libswscale/x86/swscale_template.c
+++ b/libswscale/x86/swscale_template.c
@@ -1019,7 +1019,7 @@ static inline void RENAME(yuv2rgb32_2)(SwsContext *c, const uint16_t *buf0,
             WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
             "pop %%"REG_BP"                         \n\t"
             "mov "ESP_OFFSET"(%5), %%"REG_b"        \n\t"
-            :: "c" (buf0), "d" (buf1), "S" (uvbuf0), "D" (uvbuf1), "m" (dest),
+            :: "c" (buf0), "d" (buf1), "S" (ubuf0), "D" (ubuf1), "m" (dest),
                "a" (&c->redDither), "m"(uv_off)
         );
 #endif



More information about the ffmpeg-cvslog mailing list