Mercurial > mplayer.hg
diff libmpcodecs/vf_divtc.c @ 27754:08d18fe9da52
Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.
author | diego |
---|---|
date | Thu, 16 Oct 2008 18:59:27 +0000 |
parents | 88dfab272467 |
children | 25337a2147e7 |
line wrap: on
line diff
--- a/libmpcodecs/vf_divtc.c Thu Oct 16 18:28:38 2008 +0000 +++ b/libmpcodecs/vf_divtc.c Thu Oct 16 18:59:27 2008 +0000 @@ -37,7 +37,7 @@ static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns) { volatile short out[4]; - asm ( + __asm__ ( "movl $8, %%ecx \n\t" "pxor %%mm4, %%mm4 \n\t" "pxor %%mm7, %%mm7 \n\t"