diff mbox series

[FFmpeg-devel,02/10] avcodec/wmalosslessdec: Remove unnecessary emms_c()

Message ID DB6PR0101MB22149A25EFBFA16566BAE4038F719@DB6PR0101MB2214.eurprd01.prod.exchangelabs.com
State Accepted
Commit 505eaf0e37fa3cddaee5e624695d1d2dbd510bd1
Headers show
Series [FFmpeg-devel] swscale/x86/rgb2_rgb: Empty MMX state in ff_shuffle_bytes_2103_mmxext | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Aug. 22, 2022, 3:10 p.m. UTC
Possible since 6feea076e98512d78c8d735509ab6b5e9a71ca1c.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/wmalosslessdec.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Rheinhardt Aug. 23, 2022, 12:34 p.m. UTC | #1
Andreas Rheinhardt:
> Possible since 6feea076e98512d78c8d735509ab6b5e9a71ca1c.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavcodec/wmalosslessdec.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
> index 614b6135f5..6ba9f04d25 100644
> --- a/libavcodec/wmalosslessdec.c
> +++ b/libavcodec/wmalosslessdec.c
> @@ -783,7 +783,6 @@ static void revert_cdlms ## bits (WmallDecodeCtx *s, int ch, \
>              s->channel_residues[ch][icoef] = input; \
>          } \
>      } \
> -    if (bits <= 16) emms_c(); \
>  }
>  
>  CD_LMS(16, WMALL_COEFF_PAD_SIZE)

Will apply the rest of this patchset tomorrow unless there are objections.

- Andreas
diff mbox series

Patch

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 614b6135f5..6ba9f04d25 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -783,7 +783,6 @@  static void revert_cdlms ## bits (WmallDecodeCtx *s, int ch, \
             s->channel_residues[ch][icoef] = input; \
         } \
     } \
-    if (bits <= 16) emms_c(); \
 }
 
 CD_LMS(16, WMALL_COEFF_PAD_SIZE)