This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 888b7731b6bac25a7c5968053e90573367269077
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Nov 6 00:26:13 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Nov 8 08:52:57 2026 +0100

    avcodec/avcodec: Remove emms_c from avcodec_default_execute() funcs
    
    Fixing mmx issues by clearing the FPU state in these callbacks
    was always a bad design, as it does not fix issues when these
    callbacks are overridden (either by the user or our slice-threading
    code). Anyway, we got rid of so many mmx functions that these emms
    here are obsolete (the remaining codecs still using mmx are guaranteed
    not to call these functions).
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/avcodec.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index 80f2598a92..4b2018d75f 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -31,7 +31,6 @@
 #include "libavutil/bprint.h"
 #include "libavutil/channel_layout.h"
 #include "libavutil/common.h"
-#include "libavutil/emms.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
@@ -81,7 +80,6 @@ int avcodec_default_execute(AVCodecContext *c, int 
(*func)(AVCodecContext *c2, v
         if (ret)
             ret[i] = r;
     }
-    emms_c();
     return 0;
 }
 
@@ -94,7 +92,6 @@ int avcodec_default_execute2(AVCodecContext *c, int 
(*func)(AVCodecContext *c2,
         if (ret)
             ret[i] = r;
     }
-    emms_c();
     return 0;
 }
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to