From 8b8b9ada52e3c3fb0e1901e61286c939dadcb12b Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sun, 25 Nov 2007 21:45:35 +0000 Subject: [PATCH] 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 --- dvdread/ifo_read.c | 4 ++++ 1 file changed, 4 insertions(+) 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]);