[FFmpeg-cvslog] avcodec/utils: Clear MMX state before returning from avcodec_default_execute*()

Michael Niedermayer git at videolan.org
Sun Dec 4 22:12:56 EET 2016


ffmpeg | branch: release/3.0 | Michael Niedermayer <michael at niedermayer.cc> | Fri Oct 21 13:40:18 2016 +0200| [86f5b73429d8c19bc80399548e0e9a8dc8ee7cf9] | committer: Michael Niedermayer

avcodec/utils: Clear MMX state before returning from avcodec_default_execute*()

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 4f96f9d1118e073d346d16be157fa5075434e7f2)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=86f5b73429d8c19bc80399548e0e9a8dc8ee7cf9
---

 libavcodec/utils.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 5d51900..b1bc789 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -957,6 +957,7 @@ int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, v
         if (ret)
             ret[i] = r;
     }
+    emms_c();
     return 0;
 }
 
@@ -969,6 +970,7 @@ int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2,
         if (ret)
             ret[i] = r;
     }
+    emms_c();
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list