mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
bugfix
Originally committed as revision 2767 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
This commit is contained in:
parent
1b383194f6
commit
9395185f9e
@ -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…
x
Reference in New Issue
Block a user