🐛Fix decoding Blu-ray Disc Information structure.

This commit is contained in:
2018-03-26 17:39:49 +01:00
parent 2827f7102e
commit 8448f165ee

View File

@@ -119,14 +119,14 @@ namespace DiscImageChef.Decoders.Bluray
case DiscTypeBDROM:
{
unit.FormatDependentContents = new byte[52];
Array.Copy(DIResponse, 12 + offset, unit.DiscTypeIdentifier, 0, 52);
Array.Copy(DIResponse, 12 + offset, unit.FormatDependentContents, 0, 52);
break;
}
case DiscTypeBDRE:
case DiscTypeBDR:
{
unit.FormatDependentContents = new byte[88];
Array.Copy(DIResponse, 12 + offset, unit.DiscTypeIdentifier, 0, 88);
Array.Copy(DIResponse, 12 + offset, unit.FormatDependentContents, 0, 88);
unit.ManufacturerID = new byte[6];
Array.Copy(DIResponse, 100 + offset, unit.ManufacturerID, 0, 6);
unit.MediaTypeID = new byte[3];