Subsume used DiscUtils libraries
This commit is contained in:
+2
-3
@@ -1,5 +1,4 @@
|
||||
using DiscUtils.Iso9660;
|
||||
using System;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.IO.Hashing;
|
||||
|
||||
@@ -135,7 +134,7 @@ namespace LibIRD
|
||||
{
|
||||
// If no layerbreak provided, ensure ISO is not BD-Video hybrid
|
||||
using FileStream fs = new FileStream(isoPath, FileMode.Open, FileAccess.Read) ?? throw new FileNotFoundException(isoPath);
|
||||
CDReader reader = new(fs, true, true);
|
||||
DiscUtils.Iso9660.CDReader reader = new(fs, true, true);
|
||||
if (reader.DirectoryExists("\\BDMV"))
|
||||
throw new ArgumentException("Layerbreak must be provided for BD-Video hybrid discs");
|
||||
// Assume disc has default layerbreak
|
||||
|
||||
Reference in New Issue
Block a user