From cb6a488fba7748fd3f9cdc24436eade14e0a562a Mon Sep 17 00:00:00 2001 From: James Almer Date: Wed, 24 Jan 2024 12:33:59 -0300 Subject: [PATCH] avcodec/vvc_mvs: remove an unnecessary AV_ZERO64() call Should fix "member access within misaligned address 0xf00 for type 'const union av_alias64', which requires 8 byte alignment" errors as reported by GCC ubsan. Signed-off-by: James Almer --- libavcodec/vvc/vvc_mvs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/vvc/vvc_mvs.c b/libavcodec/vvc/vvc_mvs.c index 6c0ec8fcac..668730dbbf 100644 --- a/libavcodec/vvc/vvc_mvs.c +++ b/libavcodec/vvc/vvc_mvs.c @@ -1046,7 +1046,6 @@ static int sb_temporal_luma_motion_data(const VVCLocalContext *lc, const MvField colPic = ref->poc; - AV_ZERO64(temp_mv); if (a1) { if ((a1->pred_flag & PF_L0) && colPic == rpl[0].list[a1->ref_idx[0]]) *temp_mv = a1->mv[0];