aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-25 21:45:35 +0000
committerGravatar nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-11-25 21:45:35 +0000
commit8b8b9ada52e3c3fb0e1901e61286c939dadcb12b (patch)
treea3e4e45e6114b7f6962b67fbcf8968bd6fcf8676
parentd553a2cea1d32aae0dcb6a384246e5bc602b8c54 (diff)
10l, removing the conditional bitfields from (audio|sub)_mapping_t requires the big->native conversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25161 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--dvdread/ifo_read.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dvdread/ifo_read.c b/dvdread/ifo_read.c
index 5889af6d24..2a430661b7 100644
--- a/dvdread/ifo_read.c
+++ b/dvdread/ifo_read.c
@@ -755,6 +755,10 @@ static int ifoRead_PGC(ifo_handle_t *ifofile, pgc_t *pgc, unsigned int offset) {
B2N_16(pgc->cell_playback_offset);
B2N_16(pgc->cell_position_offset);
+ for(i = 0; i < 8; i++)
+ B2N_16(pgc->audio_control[i]);
+ for(i = 0; i < 32; i++)
+ B2N_32(pgc->subp_control[i]);
for(i = 0; i < 16; i++)
B2N_32(pgc->palette[i]);