Commit 1da2b479 authored by michael's avatar michael

bugfix


git-svn-id: file:///var/local/repositories/mplayer/trunk/postproc@2767 b3059339-0415-0410-9bf9-f77b7e298cf2
parent c2261c43
...@@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size) ...@@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
:: "r" (src), "r"(dst), "r" (num_pixels) :: "r" (src), "r"(dst), "r" (num_pixels)
: "%eax" : "%eax"
); );
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS:::"memory");
#else #else
int i; int i;
for(i=0; i<num_pixels; 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) ...@@ -604,6 +604,9 @@ void rgb32tobgr32(const uint8_t *src, uint8_t *dst, unsigned int src_size)
:: "r" (src), "r"(dst), "r" (num_pixels) :: "r" (src), "r"(dst), "r" (num_pixels)
: "%eax" : "%eax"
); );
__asm __volatile(SFENCE:::"memory");
__asm __volatile(EMMS:::"memory");
#else #else
int i; int i;
for(i=0; i<num_pixels; i++) for(i=0; i<num_pixels; i++)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment