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

Git pushed a commit to branch master
in repository ffmpeg.

commit ed397944c66e1b31867eacfab09091b00b468213
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Tue Oct 13 05:45:22 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Tue Oct 20 20:41:50 2026 +0000

    avcodec/x86/hevc: keep the slack sample out of the copied last 3-tap sample
    
    Fixes: UTli3J4oj0BS
    Fixes: uninitialised value reports
    Uninitialised value reports Replicated through UnModified FFmpeg with 
valgrind
    Found during triage of the review of 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24661
---
 libavcodec/x86/hevc/pred.asm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavcodec/x86/hevc/pred.asm b/libavcodec/x86/hevc/pred.asm
index 3d1feee89f..31b14b3e49 100644
--- a/libavcodec/x86/hevc/pred.asm
+++ b/libavcodec/x86/hevc/pred.asm
@@ -233,8 +233,8 @@ PRED_PLANAR 32, 3
 %rep (%3) / 16
     FILTER_3TAP_16  %1, %2, %%i
 %if %%i == (%3) - 16
-    pxor            m1, m0                  ; last sample is copied, not
-    pand            m1, m4                  ; filtered; select it out of m1 as
+    pxor            m0, m1                  ; last sample is copied, not
+    pand            m0, m4                  ; filtered; select it out of m1 as
     pxor            m0, m1                  ; the dst has no room past it
 %endif
     movu  [%1 + %%i], m0
@@ -259,7 +259,7 @@ cglobal hevc_ref_filter_3tap_%1x%1_8, 4, 6, 5, fleft, ftop, 
left, top
 
     mova            m3, [pb_1]
     pcmpeqb         m4, m4
-    pslldq          m4, 15                  ; selects the copied last sample
+    psrldq          m4, 1                   ; clears the copied last sample
 
     FILTER_3TAP_ARRAY fleftq, leftq, %%n
     FILTER_3TAP_ARRAY  ftopq,  topq, %%n

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