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

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


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

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;
-- 
2.10.1



More information about the ffmpeg-devel mailing list