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

Git pushed a commit to branch master
in repository ffmpeg.

commit a8679f456ff75250becc7c5b5a4e51ae09359900
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Mar 5 19:55:35 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Mon Mar 9 07:28:29 2026 +0100

    avcodec/x86/pngdsp: Avoid jump
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/pngdsp.asm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/libavcodec/x86/pngdsp.asm b/libavcodec/x86/pngdsp.asm
index 5fa3780185..009e1034df 100644
--- a/libavcodec/x86/pngdsp.asm
+++ b/libavcodec/x86/pngdsp.asm
@@ -39,7 +39,8 @@ cglobal add_bytes_l2, 4, 6, 2, dst, src1, src2, wa, w, i
     ; vector loop
     mov                 wq, waq
     and                waq, ~(mmsize*2-1)
-    jmp .end_v
+    jz               .tail
+
 .loop_v:
     movu                m0, [src2q+iq]
     movu                m1, [src2q+iq+mmsize]
@@ -48,11 +49,11 @@ cglobal add_bytes_l2, 4, 6, 2, dst, src1, src2, wa, w, i
     movu  [dstq+iq       ], m0
     movu  [dstq+iq+mmsize], m1
     add                 iq, mmsize*2
-.end_v:
     cmp                 iq, waq
     jl .loop_v
 
     ; vector loop
+.tail:
     mov                waq, wq
     and                waq, ~7
     jmp .end_l

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to