Mercurial > libdvdnav.hg
diff dvdread/ifo_types.h @ 352:0dae99f22e60 src
read_subp_attr() uses getbits() instead of relying on endianness-specific bitfields
author | nicodvb |
---|---|
date | Sat, 03 May 2008 08:22:40 +0000 |
parents | 950749fdce4a |
children | 4cc7655e7b30 |
line wrap: on
line diff
--- a/dvdread/ifo_types.h Sat May 03 08:05:35 2008 +0000 +++ b/dvdread/ifo_types.h Sat May 03 08:22:40 2008 +0000 @@ -169,15 +169,9 @@ * language: indicates language if type == 1 * lang extension: if type == 1 contains the lang extension */ -#ifdef WORDS_BIGENDIAN unsigned char code_mode : 3; unsigned char zero1 : 3; unsigned char type : 2; -#else - unsigned char type : 2; - unsigned char zero1 : 3; - unsigned char code_mode : 3; -#endif uint8_t zero2; uint16_t lang_code; uint8_t lang_extension;