diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-21 13:40:18 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-10-21 19:33:04 +0200 |
commit | de487cb765ca5e4ecf600942809ca2d61cdbba81 (patch) | |
tree | 4dc925bb4c55fd1d1dcee59358e4e03229b14651 /libavcodec | |
parent | 2fece989f824a7257066dfd1fd93a058490f68ed (diff) | |
download | ffmpeg-de487cb765ca5e4ecf600942809ca2d61cdbba81.tar.gz |
avcodec/utils: Clear MMX state before returning from avcodec_default_execute*()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 4f96f9d1118e073d346d16be157fa5075434e7f2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index f7adb525f8..17dcf60127 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -991,6 +991,7 @@ int avcodec_default_execute(AVCodecContext *c, int (*func)(AVCodecContext *c2, v if (ret) ret[i] = r; } + emms_c(); return 0; } @@ -1003,6 +1004,7 @@ int avcodec_default_execute2(AVCodecContext *c, int (*func)(AVCodecContext *c2, if (ret) ret[i] = r; } + emms_c(); return 0; } |