mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-04-30 00:00:01 -04:00
TMI-113: And fixed tests for JPEGSegmentInputStream to pass, as we now filter out App14/Adobe.
This commit is contained in:
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user