mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 04:58:06 +00:00
bugfix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2767 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3a5f191bbe
commit
33d4bdc12d
@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
|
||||
:: "r" (src), "r"(dst), "r" (num_pixels)
|
||||
: "%eax"
|
||||
);
|
||||
|
||||
__asm __volatile(SFENCE:::"memory");
|
||||
__asm __volatile(EMMS:::"memory");
|
||||
#else
|
||||
int i;
|
||||
for(i=0; i<num_pixels; i++)
|
||||
|
@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
|
||||
:: "r" (src), "r"(dst), "r" (num_pixels)
|
||||
: "%eax"
|
||||
);
|
||||
|
||||
__asm __volatile(SFENCE:::"memory");
|
||||
__asm __volatile(EMMS:::"memory");
|
||||
#else
|
||||
int i;
|
||||
for(i=0; i<num_pixels; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user