Decode 2048-bytes PFI.

This commit is contained in:
2018-01-30 03:07:52 +00:00
parent 53081903ed
commit 6807174c9e

View File

@@ -1064,6 +1064,13 @@ namespace DiscImageChef.Decoders.DVD
{ {
if(response == null) return null; if(response == null) return null;
if(response.Length == 2048)
{
byte[] tmp2 = new byte[2052];
Array.Copy(response, 0, tmp2, 4, 2048);
response = tmp2;
}
if(response.Length < 2052) return null; if(response.Length < 2052) return null;
PhysicalFormatInformation pfi = new PhysicalFormatInformation(); PhysicalFormatInformation pfi = new PhysicalFormatInformation();