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.
Unified · Split
| @@ -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]; |