Skip to content

Commit 5c1a136

Browse files
committed
Minor addition of usings
1 parent d1f1c1f commit 5c1a136

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

BinaryObjectScanner/FileType/AACSMediaKeyBlock.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.IO;
3+
using SabreTools.Models.AACS;
34

45
namespace BinaryObjectScanner.FileType
56
{
@@ -14,8 +15,8 @@ public AACSMediaKeyBlock(SabreTools.Serialization.Wrappers.AACSMediaKeyBlock? wr
1415
/// <inheritdoc/>
1516
public override string? Detect(Stream stream, string file, bool includeDebug)
1617
{
17-
var record = Array.Find(_wrapper.Records, r => r.RecordType == SabreTools.Models.AACS.RecordType.TypeAndVersion);
18-
if (record is SabreTools.Models.AACS.TypeAndVersionRecord tavr)
18+
var record = Array.Find(_wrapper.Records, r => r.RecordType == RecordType.TypeAndVersion);
19+
if (record is TypeAndVersionRecord tavr)
1920
return $"AACS {tavr.VersionNumber}";
2021

2122
return "AACS (Unknown Version)";

BinaryObjectScanner/FileType/PLJ.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
using System.IO;
2+
using SabreTools.Serialization.Wrappers;
23

34
namespace BinaryObjectScanner.FileType
45
{
56
/// <summary>
67
/// PlayJ audio file
78
/// </summary>
8-
public class PLJ : DetectableBase<SabreTools.Serialization.Wrappers.PlayJAudioFile>
9+
public class PLJ : DetectableBase<PlayJAudioFile>
910
{
1011
/// <inheritdoc/>
11-
public PLJ(SabreTools.Serialization.Wrappers.PlayJAudioFile? wrapper) : base(wrapper) { }
12+
public PLJ(PlayJAudioFile? wrapper) : base(wrapper) { }
1213

1314
/// <inheritdoc/>
1415
public override string? Detect(Stream stream, string file, bool includeDebug)

0 commit comments

Comments
 (0)