Hello community,

here is the log from the commit of package libdvdread for openSUSE:Factory 
checked in at 2019-02-24 18:02:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libdvdread (Old)
 and      /work/SRC/openSUSE:Factory/.libdvdread.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libdvdread"

Sun Feb 24 18:02:59 2019 rev:32 rq:677280 version:6.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libdvdread/libdvdread.changes    2018-01-28 
20:29:47.125085517 +0100
+++ /work/SRC/openSUSE:Factory/.libdvdread.new.28833/libdvdread.changes 
2019-02-24 18:03:00.775782509 +0100
@@ -1,0 +2,8 @@
+Mon Feb 18 21:39:22 UTC 2019 - [email protected]
+
+- Update to version 6.0.1:
+  * fix a regression on some DVDs, like Resident Evil
+  * check InternalUDFReadBlocksRaw I/O issues
+  * fix issues with some DVD burnt by Nero
+
+-------------------------------------------------------------------

Old:
----
  libdvdread-6.0.0.tar.bz2
  libdvdread-6.0.0.tar.bz2.asc

New:
----
  libdvdread-6.0.1.tar.bz2
  libdvdread-6.0.1.tar.bz2.asc

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdvdread.spec ++++++
--- /var/tmp/diff_new_pack.rrG80t/_old  2019-02-24 18:03:01.327782322 +0100
+++ /var/tmp/diff_new_pack.rrG80t/_new  2019-02-24 18:03:01.331782320 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libdvdread
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           libdvdread
-Version:        6.0.0
+Version:        6.0.1
 Release:        0
 Summary:        Library for Reading DVD Video Images
 License:        GPL-2.0+

++++++ libdvdread-6.0.0.tar.bz2 -> libdvdread-6.0.1.tar.bz2 ++++++
++++ 3805 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/ChangeLog new/libdvdread-6.0.1/ChangeLog
--- old/libdvdread-6.0.0/ChangeLog      2018-01-14 10:46:08.000000000 +0100
+++ new/libdvdread-6.0.1/ChangeLog      2019-02-05 16:17:56.000000000 +0100
@@ -1,3 +1,64 @@
+commit b851de7220657aaba96d447abd2937ffd2a23490
+Author: Jean-Baptiste Kempf <[email protected]>
+Date:   Tue Feb 5 16:16:13 2019 +0100
+
+    Update NEWS for 6.0.1
+
+commit 34bb5af1400606fc7cd15e5770d149f38adc8f51
+Author: Jean-Baptiste Kempf <[email protected]>
+Date:   Tue Feb 5 15:18:39 2019 +0100
+
+    Update Release version to 6.0.1
+
+commit 1f4136e86450d58146683a065b829c812e9602d4
+Author: Jean-Baptiste Kempf <[email protected]>
+Date:   Tue Feb 5 16:09:47 2019 +0100
+
+    Fix fallthrough warning
+
+commit 98423d6aa67cfdcc2def0600d82a877a6646c403
+Author: Nicolas Porcel <[email protected]>
+Date:   Tue Feb 6 02:57:44 2018 +0100
+
+    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 <[email protected]>
+
+commit b1f3681b2b7e19c0c060771f9d5acc2db2ec7a1a
+Author: John Stebbins <[email protected]>
+Date:   Wed Jan 25 10:08:31 2017 -0700
+
+    Don't ignore I/O errors in InternalUDFReadBlocksRaw
+    
+    Ignoring these errors can lead to hanging in a loop for hours on damaged
+    images.
+    
+    Signed-off-by: Jean-Baptiste Kempf <[email protected]>
+
+commit 3ba6d4eb22acb316eaec5de907ca815f6a6415c7
+Author: Jean-Baptiste Kempf <[email protected]>
+Date:   Tue Feb 5 15:15:47 2019 +0100
+
+    Update NEWS
+
+commit 978c6275c004db5485fb7ffde2508b89cc45c7f7
+Author: Thomas Guillem <[email protected]>
+Date:   Tue Jan 8 15:51:08 2019 +0100
+
+    Invalidate cache when forcing filesize
+    
+    This fixes playback of Resident Evil Extention DVD.
+
+commit 30e4a6e29862024a95a2e0a731025e4d7f783b6b
+Author: Konstantin Pavlov <[email protected]>
+Date:   Fri Nov 30 18:05:22 2018 +0300
+
+    CI: added debian, macos, win32 and win64 build jobs.
+
 commit 95fdbe8337d2ff31dcfb68f35f3e4441dc27d92f
 Author: Jean-Baptiste Kempf <[email protected]>
 Date:   Sun Jan 14 10:45:31 2018 +0100
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/NEWS new/libdvdread-6.0.1/NEWS
--- old/libdvdread-6.0.0/NEWS   2018-01-14 10:45:26.000000000 +0100
+++ new/libdvdread-6.0.1/NEWS   2019-02-05 16:16:11.000000000 +0100
@@ -1,3 +1,8 @@
+libdvdread (6.0.1)
+ * fix a regression on some DVDs, like Resident Evil
+ * check InternalUDFReadBlocksRaw I/O issues
+ * fix issues with some DVD burnt by Nero
+
 libdvdread (6.0.0)
  * restrict the number of symbols to be exposed to the shared-object
  * remove dvdinput_error function
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/compile new/libdvdread-6.0.1/compile
--- old/libdvdread-6.0.0/compile        2018-01-17 22:26:06.000000000 +0100
+++ new/libdvdread-6.0.1/compile        2019-02-05 15:20:54.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Wrapper for compilers which do not understand '-c -o'.
 
-scriptversion=2012-10-14.11; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1999-2014 Free Software Foundation, Inc.
+# Copyright (C) 1999-2018 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 #
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -255,7 +255,8 @@
     echo "compile $scriptversion"
     exit $?
     ;;
-  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe )
+  cl | *[/\\]cl | cl.exe | *[/\\]cl.exe | \
+  icl | *[/\\]icl | icl.exe | *[/\\]icl.exe )
     func_cl_wrapper "$@"      # Doesn't return...
     ;;
 esac
@@ -339,9 +340,9 @@
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/configure.ac new/libdvdread-6.0.1/configure.ac
--- old/libdvdread-6.0.0/configure.ac   2018-01-08 18:28:17.000000000 +0100
+++ new/libdvdread-6.0.1/configure.ac   2019-02-05 16:10:12.000000000 +0100
@@ -1,7 +1,7 @@
 dnl library version number
 m4_define([dvdread_major], 6)
 m4_define([dvdread_minor], 0)
-m4_define([dvdread_micro], 0)
+m4_define([dvdread_micro], 1)
 m4_define([dvdread_version],[dvdread_major.dvdread_minor.dvdread_micro])
 
 AC_INIT(libdvdread, dvdread_version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/m4/libtool.m4 new/libdvdread-6.0.1/m4/libtool.m4
--- old/libdvdread-6.0.0/m4/libtool.m4  2018-01-17 22:26:04.000000000 +0100
+++ new/libdvdread-6.0.1/m4/libtool.m4  2019-02-05 15:20:51.000000000 +0100
@@ -4063,7 +4063,8 @@
   if AC_TRY_EVAL(ac_compile); then
     # Now try to grab the symbols.
     nlist=conftest.nm
-    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" 
\> $nlist) && test -s "$nlist"; then
+    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | 
$lt_cv_sys_global_symbol_pipe > $nlist" >&AS_MESSAGE_LOG_FD
+    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> 
$nlist 2>&AS_MESSAGE_LOG_FD && test -s "$nlist"; then
       # Try sorting and uniquifying the output.
       if sort "$nlist" | uniq > "$nlist"T; then
        mv -f "$nlist"T "$nlist"
@@ -6438,7 +6439,7 @@
       # Commands to make compiler produce verbose output that lists
       # what "hidden" libraries, object files and flags are used when
       # linking a shared library.
-      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | 
$GREP -v "^Configured with:" | $GREP "\-L"'
+      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | 
$GREP -v "^Configured with:" | $GREP " \-L"'
 
     else
       GXX=no
@@ -6813,7 +6814,7 @@
             # explicitly linking system object files so we need to strip them
             # from the output so that they don't get included in the library
             # dependencies.
-            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v 
conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z 
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; 
done; func_echo_all "$list"'
+            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v 
conftest.$objext 2>&1) | $EGREP " \-L"`; list= ; for z in $templist; do case $z 
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; 
done; func_echo_all "$list"'
             ;;
           *)
             if test yes = "$GXX"; then
@@ -6878,7 +6879,7 @@
            # explicitly linking system object files so we need to strip them
            # from the output so that they don't get included in the library
            # dependencies.
-           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v 
conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z 
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; 
done; func_echo_all "$list"'
+           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v 
conftest.$objext 2>&1) | $GREP " \-L"`; list= ; for z in $templist; do case $z 
in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; 
done; func_echo_all "$list"'
            ;;
           *)
            if test yes = "$GXX"; then
@@ -7217,7 +7218,7 @@
              # Commands to make compiler produce verbose output that lists
              # what "hidden" libraries, object files and flags are used when
              # linking a shared library.
-             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 
2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 
2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
 
            else
              # FIXME: insert proper C++ library support
@@ -7301,7 +7302,7 @@
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -shared $CFLAGS -v 
conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -shared $CFLAGS -v 
conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
              else
                # g++ 2.7 appears to require '-G' NOT '-shared' on this
                # platform.
@@ -7312,7 +7313,7 @@
                # Commands to make compiler produce verbose output that lists
                # what "hidden" libraries, object files and flags are used when
                # linking a shared library.
-               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 
2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
+               output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 
2>&1 | $GREP -v "^Configured with:" | $GREP " \-L"'
              fi
 
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/missing new/libdvdread-6.0.1/missing
--- old/libdvdread-6.0.0/missing        2018-01-17 22:26:06.000000000 +0100
+++ new/libdvdread-6.0.1/missing        2019-02-05 15:20:54.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common wrapper for a few potentially missing GNU programs.
 
-scriptversion=2013-10-28.13; # UTC
+scriptversion=2018-03-07.03; # UTC
 
-# Copyright (C) 1996-2014 Free Software Foundation, Inc.
+# Copyright (C) 1996-2018 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
 # GNU General Public License for more details.
 
 # You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+# along with this program.  If not, see <https://www.gnu.org/licenses/>.
 
 # As a special exception to the GNU General Public License, if you
 # distribute this file as part of a program that contains a
@@ -101,9 +101,9 @@
   exit $st
 fi
 
-perl_URL=http://www.perl.org/
-flex_URL=http://flex.sourceforge.net/
-gnu_software_URL=http://www.gnu.org/software
+perl_URL=https://www.perl.org/
+flex_URL=https://github.com/westes/flex
+gnu_software_URL=https://www.gnu.org/software
 
 program_details ()
 {
@@ -207,9 +207,9 @@
 exit $st
 
 # Local variables:
-# eval: (add-hook 'write-file-hooks 'time-stamp)
+# eval: (add-hook 'before-save-hook 'time-stamp)
 # time-stamp-start: "scriptversion="
 # time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
+# time-stamp-time-zone: "UTC0"
 # time-stamp-end: "; # UTC"
 # End:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/src/dvd_reader.c new/libdvdread-6.0.1/src/dvd_reader.c
--- old/libdvdread-6.0.0/src/dvd_reader.c       2018-01-17 22:35:39.000000000 
+0100
+++ new/libdvdread-6.0.1/src/dvd_reader.c       2019-02-05 15:21:33.000000000 
+0100
@@ -1156,13 +1156,13 @@
 
   if( !device->dev ) {
     fprintf( stderr, "libdvdread: Fatal error in block read.\n" );
-    return 0;
+    return -1;
   }
 
   ret = dvdinput_seek( device->dev, (int) lb_number );
   if( ret != (int) lb_number ) {
     fprintf( stderr, "libdvdread: Can't seek to block %u\n", lb_number );
-    return 0;
+    return ret;
   }
 
   ret = dvdinput_read( device->dev, (char *) data,
@@ -1332,6 +1332,8 @@
       force_size = (offset - 1) / DVD_VIDEO_LB_LEN + 1;
     if( dvd_file->filesize < force_size ) {
       dvd_file->filesize = force_size;
+      free(dvd_file->cache);
+      dvd_file->cache = NULL;
       fprintf(stderr, "libdvdread: Ignored size of file indicated in UDF.\n");
     }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/src/dvd_udf.c new/libdvdread-6.0.1/src/dvd_udf.c
--- old/libdvdread-6.0.0/src/dvd_udf.c  2015-09-09 09:48:14.000000000 +0200
+++ new/libdvdread-6.0.1/src/dvd_udf.c  2019-02-05 15:21:33.000000000 +0100
@@ -516,6 +516,7 @@
   uint32_t lbnum;
   uint16_t TagID;
   struct icbmap tmpmap;
+  int ret;
 
   lbnum = partition->Start + ICB.Location;
   tmpmap.lbn = lbnum;
@@ -526,10 +527,16 @@
   }
 
   do {
-    if( DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 ) <= 0 )
+    ret = DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 );
+    if( ret < 0 ) {
+      return ret;
+    }
+    else if( ret == 0 ) {
       TagID = 0;
-    else
+    }
+    else {
       UDFDescriptor( LogBlock, &TagID );
+    }
 
     if( TagID == FileEntry ) {
       UDFFileEntry( LogBlock, FileType, partition, File );
@@ -564,6 +571,7 @@
   uint8_t *cached_dir_base = NULL, *cached_dir;
   uint32_t dir_lba;
   struct AD tmpICB;
+  int ret;
 
   /* Scan dir for ICB of file */
   lbnum = partition->Start + Dir.Location;
@@ -579,10 +587,13 @@
       if((cached_dir_base = malloc(dir_lba * DVD_VIDEO_LB_LEN + 2048)) == NULL)
         return 0;
       cached_dir = (uint8_t *)(((uintptr_t)cached_dir_base & 
~((uintptr_t)2047)) + 2048);
-      if( DVDReadLBUDF( device, lbnum, dir_lba, cached_dir, 0) <= 0 ) {
+      ret = DVDReadLBUDF( device, lbnum, dir_lba, cached_dir, 0);
+      if( ret <= 0 ) {
         free(cached_dir_base);
         cached_dir_base = NULL;
         cached_dir = NULL;
+        if( ret < 0 )
+            return ret;
       }
       /*
       if(cached_dir) {
@@ -677,6 +688,7 @@
   uint32_t lastsector;
   int terminate;
   struct avdp_t;
+  int ret;
 
   if(GetUDFCache(device, AVDPCache, 0, avdp))
     return 1;
@@ -687,11 +699,16 @@
   terminate = 0;
 
   for(;;) {
-    if( DVDReadLBUDF( device, lbnum, 1, Anchor, 0 ) > 0 ) {
-      UDFDescriptor( Anchor, &TagID );
-    } else {
+    ret = DVDReadLBUDF( device, lbnum, 1, Anchor, 0 );
+    if( ret < 0 ) {
+      return ret;
+    }
+    else if( ret == 0 ) {
       TagID = 0;
     }
+    else {
+      UDFDescriptor( Anchor, &TagID );
+    }
     if (TagID != AnchorVolumeDescriptorPointer) {
       /* Not an anchor */
       if( terminate ) return 0; /* Final try failed */
@@ -742,7 +759,7 @@
   uint8_t *LogBlock = (uint8_t *)(((uintptr_t)LogBlock_base & 
~((uintptr_t)2047)) + 2048);
   uint32_t lbnum, MVDS_location, MVDS_length;
   uint16_t TagID;
-  int i, volvalid;
+  int i, volvalid, ret;
   struct avdp_t avdp;
 
   if(!UDFGetAVDP(device, &avdp))
@@ -761,10 +778,16 @@
     lbnum = MVDS_location;
     do {
 
-      if( DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 ) <= 0 )
+      ret = DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 );
+      if( ret < 0 ) {
+        return ret;
+      }
+      else if( ret == 0 ) {
         TagID = 0;
-      else
+      }
+      else {
         UDFDescriptor( LogBlock, &TagID );
+      }
 
       if( ( TagID == PartitionDescriptor ) && ( !part->valid ) ) {
         /* Partition Descriptor */
@@ -805,6 +828,7 @@
   struct AD RootICB, File, ICB;
   char tokenline[ MAX_UDF_FILE_NAME_LEN ];
   uint8_t filetype;
+  int ret;
 
   *filesize = 0;
   tokenline[0] = '\0';
@@ -820,10 +844,16 @@
     /* Find root dir ICB */
     lbnum = partition.Start;
     do {
-      if( DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 ) <= 0 )
+      ret = DVDReadLBUDF( device, lbnum++, 1, LogBlock, 0 );
+      if( ret < 0 ) {
+        return ret;
+      }
+      else if( ret == 0 ) {
         TagID = 0;
-      else
+      }
+      else {
         UDFDescriptor( LogBlock, &TagID );
+      }
 
       /* File Set Descriptor */
       if( TagID == FileSetDescriptor )  /* File Set Descriptor */
@@ -886,7 +916,7 @@
   uint32_t lbnum, MVDS_location, MVDS_length;
   struct avdp_t avdp;
   uint16_t TagID;
-  int i, desc_found = 0;
+  int i, desc_found = 0, ret;
   /* Find Anchor */
   lbnum = 256;   /* Try #1, prime anchor */
   if(bufsize < DVD_VIDEO_LB_LEN)
@@ -904,10 +934,16 @@
     /* Find  Descriptor */
     lbnum = MVDS_location;
     do {
-      if( DVDReadLBUDF( device, lbnum++, 1, descriptor, 0 ) <= 0 )
+      ret = DVDReadLBUDF( device, lbnum++, 1, descriptor, 0 );
+      if( ret < 0 ) {
+        return ret;
+      }
+      else if( ret == 0 ) {
         TagID = 0;
-      else
+      }
+      else {
         UDFDescriptor( descriptor, &TagID );
+      }
       if( (TagID == id) && ( !desc_found ) )
         /* Descriptor */
         desc_found = 1;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/src/dvdread/version.h 
new/libdvdread-6.0.1/src/dvdread/version.h
--- old/libdvdread-6.0.0/src/dvdread/version.h  2018-01-17 22:26:19.000000000 
+0100
+++ new/libdvdread-6.0.1/src/dvdread/version.h  2019-02-05 16:17:50.000000000 
+0100
@@ -27,9 +27,9 @@
 
 #define DVDREAD_VERSION_MAJOR 6
 #define DVDREAD_VERSION_MINOR 0
-#define DVDREAD_VERSION_MICRO 0
+#define DVDREAD_VERSION_MICRO 1
 
-#define DVDREAD_VERSION_STRING "6.0.0"
+#define DVDREAD_VERSION_STRING "6.0.1"
 
 #define DVDREAD_VERSION \
     DVDREAD_VERSION_CODE(DVDREAD_VERSION_MAJOR, DVDREAD_VERSION_MINOR, 
DVDREAD_VERSION_MICRO)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/src/ifo_print.c new/libdvdread-6.0.1/src/ifo_print.c
--- old/libdvdread-6.0.0/src/ifo_print.c        2018-01-14 10:44:49.000000000 
+0100
+++ new/libdvdread-6.0.1/src/ifo_print.c        2019-02-05 16:10:12.000000000 
+0100
@@ -219,6 +219,7 @@
     break;
   case 2:
     printf("mpeg1 ");
+    /* Falls Through. */ /* to MPEG-2 */
   case 3:
     printf("mpeg2ext ");
     switch(attr->quantization) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/libdvdread-6.0.0/src/ifo_read.c new/libdvdread-6.0.1/src/ifo_read.c
--- old/libdvdread-6.0.0/src/ifo_read.c 2018-01-14 10:44:49.000000000 +0100
+++ new/libdvdread-6.0.1/src/ifo_read.c 2019-02-05 15:29:46.000000000 +0100
@@ -1244,8 +1244,6 @@
         = *(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;
     }
   }
 



Reply via email to