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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new ee8cbd7dbc avcodec/hevc/mvs: zero the merge candidate list
ee8cbd7dbc is described below

commit ee8cbd7dbce9b293905f3088192e4b43ab00c33a
Author:     Charly Morgand-Poyac <[email protected]>
AuthorDate: Wed Oct 14 23:49:12 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Wed Oct 14 23:41:01 2026 +0000

    avcodec/hevc/mvs: zero the merge candidate list
    
    mvf_run_equal() reads padding the merge candidates left uninitialized.
    
    Fixes: 05c6ee22be ("lavc/hevcdec: skip boundary strength computation for 
identical MvFields")
    Reported-by: Kacper Michajłow <[email protected]>
    Signed-off-by: Charly Morgand-Poyac <[email protected]>
---
 libavcodec/hevc/mvs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/hevc/mvs.c b/libavcodec/hevc/mvs.c
index 61c9e4e086..937c7cf753 100644
--- a/libavcodec/hevc/mvs.c
+++ b/libavcodec/hevc/mvs.c
@@ -488,7 +488,7 @@ void ff_hevc_luma_mv_merge_mode(HEVCLocalContext *lc, const 
HEVCPPS *pps,
     const HEVCContext *const s = lc->parent;
     int singleMCLFlag = 0;
     int nCS = 1 << log2_cb_size;
-    MvField mergecand_list[MRG_MAX_NUM_CANDS];
+    MvField mergecand_list[MRG_MAX_NUM_CANDS] = { 0 };
     int nPbW2 = nPbW;
     int nPbH2 = nPbH;
 

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