diff libmpcodecs/vf_eq2.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 00fff9a3b735
children 25337a2147e7
line wrap: on
line diff
--- a/libmpcodecs/vf_eq2.c	Thu Oct 16 18:28:38 2008 +0000
+++ b/libmpcodecs/vf_eq2.c	Thu Oct 16 18:59:27 2008 +0000
@@ -130,7 +130,7 @@
   dstep = dstride - w;
 
   while (h-- > 0) {
-    asm volatile (
+    __asm__ volatile (
       "movq (%5), %%mm3 \n\t"
       "movq (%6), %%mm4 \n\t"
       "pxor %%mm0, %%mm0 \n\t"
@@ -170,7 +170,7 @@
     dst += dstep;
   }
 
-  asm volatile ( "emms \n\t" ::: "memory" );
+  __asm__ volatile ( "emms \n\t" ::: "memory" );
 }
 #endif