mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
🐛Fix decoding Blu-ray Disc Information structure.
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user