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
This commit is contained in:
nicodvb 2007-11-25 21:45:35 +00:00
parent d553a2cea1
commit 8b8b9ada52
1 changed files with 4 additions and 0 deletions

View File

@ -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_playback_offset);
B2N_16(pgc->cell_position_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++) for(i = 0; i < 16; i++)
B2N_32(pgc->palette[i]); B2N_32(pgc->palette[i]);