diff --git a/postproc/rgb2rgb.c b/postproc/rgb2rgb.c index ab2878f9bd7bd86bd6d7e840945fcd7a50395a94..d345854d9541af9204ba70c7b978bb59b257a54b 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