$NetBSD: patch-aa,v 1.1.1.1 2006/04/13 20:14:51 wiz Exp $

--- dvdbackup.c.orig	2002-08-05 06:08:39.000000000 +0000
+++ dvdbackup.c
@@ -20,6 +20,7 @@
 
 
 #include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/errno.h>
@@ -782,7 +783,7 @@ titles_info_t * DVDGetInfo(dvd_reader_t 
 	 to consider the second one a feature title we are doing two checks (biggest  + biggest - second) /second == 1
 	 and biggest%second * 3 < biggest */
 
-	if ( CheckSizeArray(size_size_array, 0, 1)  == 1 ) {
+	if ( title_sets > 1 && CheckSizeArray(size_size_array, 0, 1)  == 1 ) {
 		/* We have a dual DVD with two feature films - now lets see if they have the same amount of chapters*/
 
 		chapters_1 = 0;
