vcr1: drop unnecessary emms_c() calls without MMX code
authorPaul B Mahol <onemda@gmail.com>
Sat, 10 Dec 2011 16:39:21 +0000 (16:39 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 12 Dec 2011 20:17:13 +0000 (21:17 +0100)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/vcr1.c

index 8c64afe..e50e092 100644 (file)
@@ -114,8 +114,6 @@ static int decode_frame(AVCodecContext *avctx,
     *picture= *(AVFrame*)&a->picture;
     *data_size = sizeof(AVPicture);
 
-    emms_c();
-
     return buf_size;
 }
 
@@ -130,8 +128,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
     p->pict_type= AV_PICTURE_TYPE_I;
     p->key_frame= 1;
 
-    emms_c();
-
     avpriv_align_put_bits(&a->pb);
     while(get_bit_count(&a->pb)&31)
         put_bits(&a->pb, 8, 0);