diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-16 18:59:27 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-16 18:59:27 +0000 |
commit | 6b52a2e974ba3c3065d13a16cc2fa69f96745d0d (patch) | |
tree | dac114864d767dcc442978838b4b3449af30010b /libmpcodecs/dec_video.c | |
parent | 629db77d89d6bdead91fd18faa6445632a750e94 (diff) | |
download | mpv-6b52a2e974ba3c3065d13a16cc2fa69f96745d0d.tar.bz2 mpv-6b52a2e974ba3c3065d13a16cc2fa69f96745d0d.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/dec_video.c')
-rw-r--r-- | libmpcodecs/dec_video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/dec_video.c b/libmpcodecs/dec_video.c index 0a76fc06bb..3c31a01a7b 100644 --- a/libmpcodecs/dec_video.c +++ b/libmpcodecs/dec_video.c @@ -374,10 +374,10 @@ void *decode_video(sh_video_t *sh_video, unsigned char *start, int in_size, // some codecs are broken, and doesn't restore MMX state :( // it happens usually with broken/damaged files. if (gCpuCaps.has3DNow) { - __asm __volatile ("femms\n\t":::"memory"); + __asm__ __volatile ("femms\n\t":::"memory"); } else if (gCpuCaps.hasMMX) { - __asm __volatile ("emms\n\t":::"memory"); + __asm__ __volatile ("emms\n\t":::"memory"); } #endif |