1
0
Fork 0

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@gmail.com>
This commit is contained in:
James Almer 2024-01-24 12:33:59 -03:00
parent bc1d8a9b76
commit cb6a488fba
1 changed files with 0 additions and 1 deletions

View File

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