Mercurial > libdvdnav.hg
diff dvdread/ifo_types.h @ 348:5300b5982b85 src
video_attr_t is now defined and read correctly, rather than relying on conditional bitfields
author | nicodvb |
---|---|
date | Fri, 02 May 2008 08:27:21 +0000 |
parents | 049808d4a560 |
children | 8a711d89e294 |
line wrap: on
line diff
--- a/dvdread/ifo_types.h Thu May 01 17:13:36 2008 +0000 +++ b/dvdread/ifo_types.h Fri May 02 08:27:21 2008 +0000 @@ -75,7 +75,6 @@ * Video Attributes. */ typedef struct { -#ifdef WORDS_BIGENDIAN unsigned char mpeg_version : 2; unsigned char video_format : 2; unsigned char display_aspect_ratio : 2; @@ -89,21 +88,6 @@ unsigned char picture_size : 2; unsigned char letterboxed : 1; unsigned char film_mode : 1; -#else - unsigned char permitted_df : 2; - unsigned char display_aspect_ratio : 2; - unsigned char video_format : 2; - unsigned char mpeg_version : 2; - - unsigned char film_mode : 1; - unsigned char letterboxed : 1; - unsigned char picture_size : 2; - - unsigned char bit_rate : 1; - unsigned char unknown1 : 1; - unsigned char line21_cc_2 : 1; - unsigned char line21_cc_1 : 1; -#endif } ATTRIBUTE_PACKED video_attr_t; /**