[libdvdnav-devel] Assert(0) failure with libdvdnav 5.0.3 and "Red Dragon" DVD
Jean-Baptiste Kempf
jb at videolan.org
Tue Jun 2 18:08:15 CEST 2015
Hello,
Le 02/06/2015 01:11, Chris Rankin a écrit :
> I've dug into this error, and as ugly as the assert() statements are, they aren't the real reason why libdvdnav is crashing. What's actually happening is that the vm->state.domain value is being changed silently from DVD_DOMAIN_VTSMenu to DVD_DOMAIN_VTSTitle. This means that the "program chain number" (I think?!) of 15 is being validated against pgcit->nr_of_pgci_srp == 1 instead of pgcit->nr_of_pgci_srp == 30. set_PGCN() then complains and the assert() fires.
Who is changing this value?
> So I've hacked together a quick fix (attached; against libdvdnav-5.0.3), which works for the "Red Dragon" DVD.
Not sure it's the right one, tbh.
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the libdvdnav-devel
mailing list