Skip to content

ifo_types: avoid forcing a higher length in bitfield structures

Steve Lhomme requested to merge robUx4/libdvdread:bitfield-size into master

LLVM ends up using the size of an unsigned int if it's used in the bitfield. In other places the bitfields are using unsigned char which always uses the proper size in the packed structures.

  • multichannel_ext_t would end up having a size of 27 instead of 24
  • cell_playback_t would end up having a size of 26 instead of 24
  • pgci_srp_t would end up having a size of 11 instead of 8
  • playback_type_t would end up having a size of 4 instead of 1

v2:

  • do the same fix in nav_types.h

v3:

Edited by Steve Lhomme

Merge request reports