[libdvdnav-devel] (no subject)
Nicolas Porcel
nicolasporcel06 at gmail.com
Tue Feb 6 02:55:41 CET 2018
>From 5a899a87d1bd62f6c6169413bd0064d109136e22 Mon Sep 17 00:00:00 2001
From: Nicolas Porcel <nicolasporcel06 at gmail.com>
Date: Tue, 6 Feb 2018 01:49:51 +0100
Subject: [PATCH] Fix dvd burnt with Nero
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