mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
Fix issue found by tests
This commit is contained in:
@@ -52,12 +52,13 @@ namespace SabreTools.Serialization.Deserializers
|
||||
}
|
||||
}
|
||||
|
||||
// Set the records
|
||||
mediaKeyBlock.Records = [.. records];
|
||||
|
||||
#endregion
|
||||
|
||||
return mediaKeyBlock;
|
||||
// Set the records
|
||||
if (records.Count > 0)
|
||||
return new MediaKeyBlock { Records = [.. records ]};
|
||||
|
||||
return null;
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user