[FFmpeg-devel] [PATCH 01/13] avcodec/diracdec: Clear MMX state after dirac_decode_frame_internal()

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


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

diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index b183fad..e295b14 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -2184,6 +2184,7 @@ static int dirac_decode_data_unit(AVCodecContext *avctx, const uint8_t *buf, int
 
         /* [DIRAC_STD] 13.0 Transform data syntax. transform_data() */
         ret = dirac_decode_frame_internal(s);
+        emms_c();
         if (ret < 0)
             return ret;
     }
-- 
2.10.1



More information about the ffmpeg-devel mailing list