OSDN Git Service

dsputil: Use explicit movzbl instead of movzx
authorİsmail Dönmez <ismail@namtrac.org>
Mon, 1 Nov 2010 19:35:51 +0000 (19:35 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 1 Nov 2010 19:35:51 +0000 (19:35 +0000)
This fixes compilation with the latest clang trunk version.

Patch by İsmail Dönmez, ismail at namtrac dot org

Originally committed as revision 25628 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/x86/dsputil_mmx.c

index 5dac6da..db1e6e3 100644 (file)
@@ -612,7 +612,7 @@ static void add_hfyu_median_prediction_cmov(uint8_t *dst, const uint8_t *top, co
     __asm__ volatile(
         "mov    %7, %3 \n"
         "1: \n"
-        "movzx (%3,%4), %2 \n"
+        "movzbl (%3,%4), %2 \n"
         "mov    %2, %k3 \n"
         "sub   %b1, %b3 \n"
         "add   %b0, %b3 \n"