diff dvdread/ifo_types.h @ 363:abca84921371 src

read_cell_playback() removes another conditional bitfield. We're almost there!
author nicodvb
date Sun, 11 May 2008 19:07:25 +0000
parents 3d8edef37c7e
children 23607807ff65
line wrap: on
line diff
--- a/dvdread/ifo_types.h	Sun May 11 09:43:48 2008 +0000
+++ b/dvdread/ifo_types.h	Sun May 11 19:07:25 2008 +0000
@@ -203,29 +203,15 @@
  * Cell Playback Information.
  */
 typedef struct {
-#ifdef WORDS_BIGENDIAN
   unsigned int block_mode       : 2;
   unsigned int block_type       : 2;
   unsigned int seamless_play    : 1;
   unsigned int interleaved      : 1;
   unsigned int stc_discontinuity: 1;
   unsigned int seamless_angle   : 1;
-  
   unsigned int playback_mode    : 1;  /**< When set, enter StillMode after each VOBU */
   unsigned int restricted       : 1;  /**< ?? drop out of fastforward? */
   unsigned int unknown2         : 6;
-#else
-  unsigned char seamless_angle   : 1;
-  unsigned char stc_discontinuity: 1;
-  unsigned char interleaved      : 1;
-  unsigned char seamless_play    : 1;
-  unsigned char block_type       : 2;
-  unsigned char block_mode       : 2;
-  
-  unsigned char unknown2         : 6;
-  unsigned char restricted       : 1;
-  unsigned char playback_mode    : 1;
-#endif
   uint8_t still_time;
   uint8_t cell_cmd_nr;
   dvd_time_t playback_time;