TMI-JPEG: Simplified logic.

This commit is contained in:
Harald Kuhr
2013-04-22 21:00:33 +02:00
parent 0ffd7cacc4
commit 28d8796e54
2 changed files with 2 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ public final class JPEGSegmentUtil {
// Skip over 0xff padding between markers
while (marker == 0xffff) {
marker = (marker & 0xff) << 8 | stream.readUnsignedByte();
marker = 0xff00 | stream.readUnsignedByte();
}
if ((marker >> 8 & 0xff) != 0xff) {