We should use the same packing as libdvdread. It's done and made public through a header. But we must also use the compiler the same way. libdvdread doesn't force -mno-ms-bitfields.
Alternative fix from !2377 (closed). It avoids some crashes in files that otherwise crash. But the menus don't always work.
VideoLAN code repository instance