Browse code

cljr: drop unnecessary emms_c() calls without MMX code

Diego Biurrun authored on 2011/12/08 23:38:49
Showing 1 changed files
... ...
@@ -92,8 +92,6 @@ static int decode_frame(AVCodecContext *avctx,
92 92
     *picture = a->picture;
93 93
     *data_size = sizeof(AVPicture);
94 94
 
95
-    emms_c();
96
-
97 95
     return buf_size;
98 96
 }
99 97
 
... ...
@@ -153,8 +151,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
153 153
 
154 154
     flush_put_bits(&pb);
155 155
 
156
-    emms_c();
157
-
158 156
     return put_bits_count(&pb) / 8;
159 157
 }
160 158