Commit dc601f8ca4 for ffmpeg

commit dc601f8ca4a1ba05463a0061cf129425d866683a
Author: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Date:   Thu Nov 5 14:24:32 2026 +0100

    avcodec/faani?dct: Remove obsolete emms_c

    None of the codecs using the FDCTDSP or IDCTDSP API
    clobber the FPU state at all any more (since
    57f9d96cacd2dd62fe8c126b840ff2d0676f383b for the FDCTDSP,
    5dc2dd9b9f291a373015500b11136bef39cbc6c0 for IDCTDSP),
    so one can remove the emms_c here and simply presume
    that the caller abides by the ABI.

    Reviewed-by: Lynne <dev@lynne.ee>
    Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

diff --git a/libavcodec/faandct.c b/libavcodec/faandct.c
index a474906c1b..11237c64be 100644
--- a/libavcodec/faandct.c
+++ b/libavcodec/faandct.c
@@ -28,7 +28,6 @@
 #include <math.h>

 #include "faandct.h"
-#include "libavutil/emms.h"
 #include "libavutil/internal.h"
 #include "libavutil/mathematics.h"

@@ -122,8 +121,6 @@ void ff_faandct(int16_t *data)
     FLOAT temp[64];
     int i;

-    emms_c();
-
     row_fdct(temp, data);

     for (i=0; i<8; i++) {
@@ -175,8 +172,6 @@ void ff_faandct248(int16_t *data)
     FLOAT temp[64];
     int i;

-    emms_c();
-
     row_fdct(temp, data);

     for (i=0; i<8; i++) {
diff --git a/libavcodec/faanidct.c b/libavcodec/faanidct.c
index f2667fb716..55ddd84df3 100644
--- a/libavcodec/faanidct.c
+++ b/libavcodec/faanidct.c
@@ -20,7 +20,6 @@
  */
 #include "faanidct.h"
 #include "libavutil/common.h"
-#include "libavutil/emms.h"

 /* To allow switching to double. */
 typedef float FLOAT;
@@ -129,8 +128,6 @@ void ff_faanidct(int16_t block[64]){
     FLOAT temp[64];
     int i;

-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];

@@ -143,8 +140,6 @@ void ff_faanidct_add(uint8_t *dest, ptrdiff_t line_size, int16_t block[64])
     FLOAT temp[64];
     int i;

-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];

@@ -157,8 +152,6 @@ void ff_faanidct_put(uint8_t *dest, ptrdiff_t line_size, int16_t block[64])
     FLOAT temp[64];
     int i;

-    emms_c();
-
     for(i=0; i<64; i++)
         temp[i] = block[i] * prescale[i];