[FFmpeg-devel] [PATCH 08/13] avcodec/h264_slice: Clear MMX state after decode_slice()

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


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

diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c
index 25a5890..b5f2e2d 100644
--- a/libavcodec/h264_slice.c
+++ b/libavcodec/h264_slice.c
@@ -2608,6 +2608,7 @@ int ff_h264_execute_decode_slices(H264Context *h, unsigned context_count)
         h->postpone_filter = 0;
 
         ret = decode_slice(avctx, &h->slice_ctx[0]);
+        emms_c();
         h->mb_y = h->slice_ctx[0].mb_y;
         return ret;
     } else {
-- 
2.10.1



More information about the ffmpeg-devel mailing list