Commit 98423d6a authored by Nicolas Porcel's avatar Nicolas Porcel Committed by Jean-Baptiste Kempf

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.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent b1f3681b
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment