Commit 8b494b7b authored by Paul B Mahol's avatar Paul B Mahol Committed by Diego Biurrun

vcr1: drop unnecessary emms_c() calls without MMX code

Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
parent cd3716b9
...@@ -114,8 +114,6 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -114,8 +114,6 @@ static int decode_frame(AVCodecContext *avctx,
*picture= *(AVFrame*)&a->picture; *picture= *(AVFrame*)&a->picture;
*data_size = sizeof(AVPicture); *data_size = sizeof(AVPicture);
emms_c();
return buf_size; return buf_size;
} }
...@@ -130,8 +128,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int 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->pict_type= AV_PICTURE_TYPE_I;
p->key_frame= 1; p->key_frame= 1;
emms_c();
avpriv_align_put_bits(&a->pb); avpriv_align_put_bits(&a->pb);
while(get_bit_count(&a->pb)&31) while(get_bit_count(&a->pb)&31)
put_bits(&a->pb, 8, 0); put_bits(&a->pb, 8, 0);
......
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