blob: 2a66adeae1ececb1950200fa39e3d002b909f50e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-aa,v 1.2 2006/04/12 06:03:27 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;
|