mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-03 11:35:29 -04:00
WMFImageReaderSpi issue
This commit is contained in:
parent
a26f8e5851
commit
ff786c2315
@ -54,7 +54,7 @@ public class WMFImageReaderSpi extends JMagickImageReaderSpiSupport {
|
|||||||
// (byte) 0x9a, (byte) 0x00, (byte) 0x00,}},
|
// (byte) 0x9a, (byte) 0x00, (byte) 0x00,}},
|
||||||
byte[] magic = new byte[6];
|
byte[] magic = new byte[6];
|
||||||
pSource.readFully(magic);
|
pSource.readFully(magic);
|
||||||
return magic[0] == (byte) 0xD7 && magic[2] == (byte) 0xCD &&
|
return magic[0] == (byte) 0xD7 && magic[1] == (byte) 0xCD &&
|
||||||
magic[2] == (byte) 0xC6 && magic[3] == (byte) 0x9A &&
|
magic[2] == (byte) 0xC6 && magic[3] == (byte) 0x9A &&
|
||||||
magic[4] == (byte) 0x00 && magic[5] == (byte) 0x00;
|
magic[4] == (byte) 0x00 && magic[5] == (byte) 0x00;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user