Mercurial > mplayer.hg
diff libmpcodecs/vf_unsharp.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 | 82601a38e2a7 |
| children | 25337a2147e7 |
line wrap: on
line diff
--- a/libmpcodecs/vf_unsharp.c Thu Oct 16 18:28:38 2008 +0000 +++ b/libmpcodecs/vf_unsharp.c Thu Oct 16 18:59:27 2008 +0000 @@ -194,11 +194,11 @@ #ifdef HAVE_MMX if(gCpuCaps.hasMMX) - asm volatile ("emms\n\t"); + __asm__ volatile ("emms\n\t"); #endif #ifdef HAVE_MMX2 if(gCpuCaps.hasMMX2) - asm volatile ("sfence\n\t"); + __asm__ volatile ("sfence\n\t"); #endif return vf_next_put_image( vf, dmpi, pts);
