[DVDnav-discuss] [PATCH] ifo_read.c: DVDs created by LG RC590M violate `vmgi_mat->zero_3 == 0`

Paul Menzel paulepanter at users.sourceforge.net
Sun Apr 28 13:04:44 CEST 2013


Date: Sun, 28 Apr 2013 12:28:33 +0200

DVDs created with the VDR-to-DVD device LG RC590M display some warnings.

    $ dvdbackup -M -i /dev/sr0 -o /tmp
    libdvdread: Encrypted DVD support unavailable.
    ************************************************
    **                                            **
    **  No css library available. See             **
    **  /usr/share/doc/libdvdread4/README.css     **
    **  for more information.                     **
    **                                            **
    ************************************************
    *** Zero check failed in ifo_read.c:570
        for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000
    *** Zero check failed in ifo_read.c:570
        for vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000

    *** libdvdread: CHECK_VALUE failed in ifo_read.c:1232 ***
    *** for n % 4 == 0 ***

    *** libdvdread: CHECK_VALUE failed in ifo_read.c:1232 ***
    *** for n % 4 == 0 ***

    *** libdvdread: CHECK_VALUE failed in ifo_read.c:1232 ***
    *** for n % 4 == 0 ***
    […]

Add a comment about the first warning to the source code.
---
 libdvdread/src/ifo_read.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libdvdread/src/ifo_read.c b/libdvdread/src/ifo_read.c
index 5c89831..0de9506 100644
--- a/libdvdread/src/ifo_read.c
+++ b/libdvdread/src/ifo_read.c
@@ -568,6 +568,8 @@ static int ifoRead_VMG(ifo_handle_t *ifofile) {
 
   CHECK_ZERO(vmgi_mat->zero_1);
   CHECK_ZERO(vmgi_mat->zero_2);
+  /* DVDs created by VDR-to-DVD device LG RC590M violate the following check with
+   * vmgi_mat->zero_3 = 0x00000000010000000000000000000000000000. */
   CHECK_ZERO(vmgi_mat->zero_3);
   CHECK_ZERO(vmgi_mat->zero_4);
   CHECK_ZERO(vmgi_mat->zero_5);
-- 
1.7.10.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20130428/6686b2ee/attachment.asc>


More information about the DVDnav-discuss mailing list