[libdvdnav-devel] [PATCH] Fix dvd burnt with Nero
Nicolas Porcel
nicolasporcel06 at gmail.com
Tue Feb 6 02:57:44 CET 2018
Some DVD written with Nero Burning ROM have faulty IFO files that make
them unreadable with libdvdread. The condition removed is checked anyway
using the CHECK_VALUE macro.
---
src/ifo_read.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/ifo_read.c b/src/ifo_read.c
index 8bcb355..778b2b5 100644
--- a/src/ifo_read.c
+++ b/src/ifo_read.c
@@ -1244,8 +1244,6 @@ int ifoRead_VTS_PTT_SRPT(ifo_handle_t *ifofile) {
= *(uint16_t*)(((char *)data) + data[i] + 4*j - VTS_PTT_SRPT_SIZE);
vts_ptt_srpt->title[i].ptt[j].pgn
= *(uint16_t*)(((char *)data) + data[i] + 4*j + 2 - VTS_PTT_SRPT_SIZE);
- if(!vts_ptt_srpt->title[i].ptt[j].pgn)
- goto fail;
}
}
--
2.16.1
More information about the libdvdnav-devel
mailing list