[FFmpeg-cvslog] vcr1: drop unnecessary emms_c() calls without MMX code

Paul B Mahol git at videolan.org
Tue Dec 13 00:59:46 CET 2011


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sat Dec 10 16:39:21 2011 +0000| [8b494b7b2773eb45c0ed364e346602de0d578196] | committer: Diego Biurrun

vcr1: drop unnecessary emms_c() calls without MMX code

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8b494b7b2773eb45c0ed364e346602de0d578196
---

 libavcodec/vcr1.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index 8c64afe..e50e092 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -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);



More information about the ffmpeg-cvslog mailing list