History

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.

James Almer committed 2 years ago

Commit cb6a4881 parent bc1d8a91 file · +0 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vvc/vvc_mvs.c+0−1
@@ -1046,7 +1046,6 @@ static int sb_temporal_luma_motion_data(const VVCLocalContext *lc, const MvField · 1045 unmodified lines
1046 1046
1047 colPic = ref->poc;1047 colPic = ref->poc;
1048 1048
1049 AV_ZERO64(temp_mv);
1050 if (a1) {1049 if (a1) {
1051 if ((a1->pred_flag & PF_L0) && colPic == rpl[0].list[a1->ref_idx[0]])1050 if ((a1->pred_flag & PF_L0) && colPic == rpl[0].list[a1->ref_idx[0]])
1052 *temp_mv = a1->mv[0];1051 *temp_mv = a1->mv[0];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t