diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index ab2878f9bd..d345854d95 100644 --- a/postproc/rgb2rgb.c +++ b/postproc/rgb2rgb.c @@ -811,9 +811,9 @@ void yuy2toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, src += srcStride; } #ifdef HAVE_MMX -asm( EMMS" \n\t" - SFENCE" \n\t" - :::"memory"); +asm volatile( EMMS" \n\t" + SFENCE" \n\t" + :::"memory"); #endif } @@ -830,6 +830,89 @@ void uyvytoyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const int chromWidth= width>>1; for(y=0; y>1; for(y=0; y