100l trocadero: call emms_c() after doing decoding with SIMD in APE decoder
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 4 Dec 2009 08:18:13 +0000 (08:18 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 4 Dec 2009 08:18:13 +0000 (08:18 +0000)
Originally committed as revision 20727 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/apedec.c

index 3c7b1ea..3a0d172 100644 (file)
@@ -865,6 +865,7 @@ static int ape_decode_frame(AVCodecContext * avctx,
         ape_unpack_mono(s, blockstodecode);
     else
         ape_unpack_stereo(s, blockstodecode);
+    emms_c();
 
     if(s->error || s->ptr > s->data_end){
         s->samples=0;