Commit 9395185f authored by Michael Niedermayer's avatar Michael Niedermayer

bugfix

Originally committed as revision 2767 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent 1b383194
......@@ -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++)
......
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