TMI-113: And fixed tests for JPEGSegmentInputStream to pass, as we now filter out App14/Adobe.

This commit is contained in:
Harald Kuhr
2015-03-16 12:12:06 +01:00
parent cd5b41be5b
commit 3ef93b6758
2 changed files with 4 additions and 11 deletions
@@ -136,9 +136,6 @@ final class JPEGSegmentImageInputStream extends ImageInputStreamImpl {
// TODO: For progressive, there will be more than one SOS...
length = Long.MAX_VALUE - realPosition;
}
// else if (marker == JPEG.APP14 && isAppSegmentWithId("Adobe", stream)) {
// length = 16;
// }
else {
// Length including length field itself
length = stream.readUnsignedShort() + 2;