[FFmpeg-devel] [PATCH 07/13] avcodec/vp56: Clear mmx state after mb decode loop

Michael Niedermayer michael at niedermayer.cc
Sat Oct 22 22:02:05 EEST 2016


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavcodec/vp56.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c
index 6319248..2125000 100644
--- a/libavcodec/vp56.c
+++ b/libavcodec/vp56.c
@@ -668,6 +668,7 @@ static int ff_vp56_decode_mbs(AVCodecContext *avctx, void *data,
     }
 
 next:
+    emms_c();
     if (p->key_frame || s->golden_frame) {
         av_frame_unref(s->frames[VP56_FRAME_GOLDEN]);
         if ((res = av_frame_ref(s->frames[VP56_FRAME_GOLDEN], p)) < 0)
-- 
2.10.1



More information about the ffmpeg-devel mailing list