Ensure that the refmvs_refpair union is packed
1 unresolved thread
1 unresolved thread
When building for RISC OS, the refmvs_refpair
union is padded to a multiple of 4 bytes, which leads to the padding being included in the otherwise packed refmvs_block
structure.
Merge request reports
Activity
Filter activity
requested review from @gramner
added 3 commits
-
fb06ab86...033a0909 - 2 commits from branch
videolan:master
- 0255c2b2 - Ensure that the refmvs_refpair union is packed
-
fb06ab86...033a0909 - 2 commits from branch
enabled an automatic merge when the pipeline for 0255c2b2 succeeds
189 189 #ifndef static_assert 190 190 #define CHECK_OFFSET(type, field, name) \ 191 191 struct check_##type##_##field { int x[(name == offsetof(type, field)) ? 1 : -1]; } 192 #define CHECK_SIZE(type, name) \ 193 struct check_##type##_size { int x[(name == sizeof(type)) ? 1 : -1]; } 192 194 #else 193 195 #define CHECK_OFFSET(type, field, name) \ 194 196 static_assert(name == offsetof(type, field), #field) 197 #define CHECK_SIZE(type, name) \ 198 static_assert(name == sizeof(type), #type) changed milestone to %1.5.0
added buildsystem label