[FFmpeg-devel,04/13] avcodec/error_resilience: Clear MMX state after the MC/ME loop

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

Details

Message ID 20161022190211.16526-4-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/error_resilience.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index 2790599..83b5c92 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -1187,6 +1187,8 @@  void ff_er_frame_end(ERContext *s)
     } else
         guess_mv(s);
 
+    emms_c();
+
     /* the filters below manipulate raw image, skip them */
     if (CONFIG_XVMC && s->avctx->hwaccel && s->avctx->hwaccel->decode_mb)
         goto ec_clean;