cljr: drop unnecessary emms_c() calls without MMX code
This commit is contained in:
parent
bbc10185ee
commit
163682fab3
@ -92,8 +92,6 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
*picture = a->picture;
|
*picture = a->picture;
|
||||||
*data_size = sizeof(AVPicture);
|
*data_size = sizeof(AVPicture);
|
||||||
|
|
||||||
emms_c();
|
|
||||||
|
|
||||||
return buf_size;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -153,8 +151,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
|
|||||||
|
|
||||||
flush_put_bits(&pb);
|
flush_put_bits(&pb);
|
||||||
|
|
||||||
emms_c();
|
|
||||||
|
|
||||||
return put_bits_count(&pb) / 8;
|
return put_bits_count(&pb) / 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user