comparison libmpcodecs/vf_scale.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 d62192604c6d
children 25337a2147e7
comparison
equal deleted inserted replaced
27753:6c915906bbc6 27754:08d18fe9da52
556 static int firstTime=1; 556 static int firstTime=1;
557 *flags=0; 557 *flags=0;
558 558
559 #ifdef ARCH_X86 559 #ifdef ARCH_X86
560 if(gCpuCaps.hasMMX) 560 if(gCpuCaps.hasMMX)
561 asm volatile("emms\n\t"::: "memory"); //FIXME this shouldnt be required but it IS (even for non mmx versions) 561 __asm__ volatile("emms\n\t"::: "memory"); //FIXME this should not be required but it IS (even for non-MMX versions)
562 #endif 562 #endif
563 if(firstTime) 563 if(firstTime)
564 { 564 {
565 firstTime=0; 565 firstTime=0;
566 *flags= SWS_PRINT_INFO; 566 *flags= SWS_PRINT_INFO;