summaryrefslogtreecommitdiffstats
path: root/dvdread/ifo_read.c
diff options
context:
space:
mode:
Diffstat (limited to 'dvdread/ifo_read.c')
-rw-r--r--dvdread/ifo_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvdread/ifo_read.c b/dvdread/ifo_read.c
index e58b913..41c797b 100644
--- a/dvdread/ifo_read.c
+++ b/dvdread/ifo_read.c
@@ -969,7 +969,7 @@ int ifoRead_TT_SRPT(ifo_handle_t *ifofile) {
for(i = 0; i < tt_srpt->nr_of_srpts; i++) {
B2N_16(tt_srpt->title[i].nr_of_ptts);
- B2N_16(tt_srpt->title[i].parental_id);
+ B2N_16(tt_srpt->title[i].tqparental_id);
B2N_32(tt_srpt->title[i].title_set_sector);
}
@@ -1778,7 +1778,7 @@ static int ifoRead_PGCIT_internal(ifo_handle_t *ifofile, pgcit_t *pgcit,
for(i = 0; i < pgcit->nr_of_pgci_srp; i++) {
memcpy(&pgcit->pgci_srp[i], ptr, PGCI_SRP_SIZE);
ptr += PGCI_SRP_SIZE;
- B2N_16(pgcit->pgci_srp[i].ptl_id_mask);
+ B2N_16(pgcit->pgci_srp[i].ptl_id_tqmask);
B2N_32(pgcit->pgci_srp[i].pgc_start_byte);
CHECK_VALUE(pgcit->pgci_srp[i].unknown1 == 0);
}