mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General refactor and cleanup.
This commit is contained in:
@@ -48,8 +48,7 @@ public sealed partial class Imd
|
||||
Stream stream = imageFilter.GetDataForkStream();
|
||||
stream.Seek(0, SeekOrigin.Begin);
|
||||
|
||||
if(stream.Length < 4)
|
||||
return false;
|
||||
if(stream.Length < 4) return false;
|
||||
|
||||
var hdr = new byte[stream.Length < 256 ? stream.Length : 256];
|
||||
stream.EnsureRead(hdr, 0, hdr.Length);
|
||||
|
||||
Reference in New Issue
Block a user