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

Submitted by Michael Niedermayer on Oct. 22, 2016, 7:02 p.m.

Details

Message ID 20161022190211.16526-7-michael@niedermayer.cc
State New
Headers show

Commit Message

Michael Niedermayer Oct. 22, 2016, 7:02 p.m.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/vp56.c | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

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)