[FFmpeg-cvslog] avcodec/vvc_mvs: remove an unnecessary AV_ZERO64() call

James Almer git at videolan.org
Wed Jan 24 17:41:01 EET 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jan 24 12:33:59 2024 -0300| [cb6a488fba7748fd3f9cdc24436eade14e0a562a] | committer: James Almer

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 <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cb6a488fba7748fd3f9cdc24436eade14e0a562a
---

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



More information about the ffmpeg-cvslog mailing list