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

Git pushed a commit to branch master
in repository ffmpeg.

commit 826d0778a8ed3939d96f00002bd4e4f217c3b883
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Aug 31 17:48:12 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Wed Sep 2 22:36:06 2026 +0200

    avcodec/x86/ac3dsp: Don't use saturated addition unnecessarily
    
    These numbers always fit into 16bit.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/ac3dsp.asm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/ac3dsp.asm b/libavcodec/x86/ac3dsp.asm
index 54e9a9a300..9d02275a70 100644
--- a/libavcodec/x86/ac3dsp.asm
+++ b/libavcodec/x86/ac3dsp.asm
@@ -190,8 +190,8 @@ cglobal ac3_compute_mantissa_size, 1, 1, 5, mant_cnt
     movhps      m3, [mant_cntq+5*32+2]
     pmulhuw     m1, m4
     pmulhuw     m3, m4
-    paddusw     m1, m2
-    paddusw     m1, m3
+    paddw       m1, m2
+    paddw       m1, m3
     pmaddwd     m1, [pw_bap_mul2]
     paddd       m0, m1
     PHADDD4     m0, m1

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