blob: db0aba732617ddeaf0b88af2563b997a664f3df2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
diff -Naur dvdisaster-0.79.6/scsi-layer.c dvdisaster-0.79.6.new/scsi-layer.c
--- dvdisaster-0.79.6/scsi-layer.c 2017-11-13 18:53:35.000000000 +0000
+++ dvdisaster-0.79.6.new/scsi-layer.c 2021-01-29 12:59:33.395625190 +0000
@@ -2588,14 +2588,14 @@
Verbose("# query_type() returned.\n");
- if(dh->subType == UNSUPPORTED)
+ /*if(dh->subType == UNSUPPORTED)
{ char *td = alloca(strlen(dh->typeDescr)+1);
strcpy(td, dh->typeDescr);
CloseDevice(dh);
Stop(_("This software does not support \"%s\" type media."), td);
return NULL;
- }
+ }*/
if(dh->sessions>1)
{ int sessions = dh->sessions;
@@ -2687,20 +2687,20 @@
}
default:
- { char *td = alloca(strlen(dh->typeDescr)+1);
+ ;/*{ char *td = alloca(strlen(dh->typeDescr)+1);
strcpy(td, dh->typeDescr);
CloseImage(image);
Stop(_("This software does not support \"%s\" type media."), td);
return NULL;
- }
+ }*/
}
- if(dh->mainType == DVD && query_copyright(dh))
+ /*if(dh->mainType == DVD && query_copyright(dh))
{ CloseImage(image);
Stop(_("This software does not support encrypted media.\n"));
return NULL;
- }
+ }*/
/* Create the bitmap of simulated defects */
|