DvdOpen fails when an ifo is invalid
Brought to you by:
jf-coulon
If libdvdread reports an error while reading an ifo, e.g.:
libdvdread: Invalid title IFO (VTS_05_0.IFO).
then function dvdinfo.c, DvdOpen() fails and dvd95 reports that it could not analyse the DVD:
"Error reading DVD structure !"
This makes it impossible to backup some commercial DVDs with recent (pseudo) copy protection.
A simple work-around is to ignore the error from libdvdread if the titles for at least one ifo can be read.
A patch is attached that seems to work for copy-protected DVDs on my system (Ubuntu-9.04).
dvdinfo.c.diff