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

Git pushed a commit to branch master
in repository ffmpeg.

commit 2a07ec503a5313c10bd0f76101a5808c8df7ee23
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Nov 5 12:32:45 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Nov 8 08:52:56 2026 +0100

    avcodec/h264{dec,_picture}: Remove obsolete emms_c
    
    The H.264 decoder does not use any mmx registers since
    aab6cec3e8415154b3f0570f8d131db07a9901de.
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/h264_picture.c | 2 --
 libavcodec/h264dec.c      | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c
index 8cb91e371c..b287f59e1a 100644
--- a/libavcodec/h264_picture.c
+++ b/libavcodec/h264_picture.c
@@ -26,7 +26,6 @@
  */
 
 #include "libavutil/avassert.h"
-#include "libavutil/emms.h"
 #include "error_resilience.h"
 #include "avcodec.h"
 #include "h264dec.h"
@@ -228,7 +227,6 @@ int ff_h264_field_end(H264Context *h, H264SliceContext *sl, 
int in_setup)
     if (!in_setup && !h->droppable)
         ff_thread_report_progress(&cur->tf, INT_MAX,
                                   h->picture_structure == PICT_BOTTOM_FIELD);
-    emms_c();
 
     h->current_slice = 0;
 
diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c
index 597bdae548..fea2e2a616 100644
--- a/libavcodec/h264dec.c
+++ b/libavcodec/h264dec.c
@@ -31,7 +31,6 @@
 
 #include "libavutil/attributes.h"
 #include "libavutil/avassert.h"
-#include "libavutil/emms.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
@@ -134,8 +133,6 @@ void ff_h264_draw_horiz_band(const H264Context *h, 
H264SliceContext *sl,
     for (int i = 3; i < AV_NUM_DATA_POINTERS; i++)
         offset[i] = 0;
 
-    emms_c();
-
     avctx->draw_horiz_band(avctx, src, offset,
                            y, h->picture_structure, height);
 }

-- 
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