aboutsummaryrefslogtreecommitdiff
path: root/lib/libexif/JpegParse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libexif/JpegParse.cpp')
-rw-r--r--lib/libexif/JpegParse.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libexif/JpegParse.cpp b/lib/libexif/JpegParse.cpp
index 2602a7b12a..446ff1b0f0 100644
--- a/lib/libexif/JpegParse.cpp
+++ b/lib/libexif/JpegParse.cpp
@@ -173,13 +173,6 @@ bool CJpegParse::ExtractInfo (FILE *infile)
marker = 0;
}
- if (marker == 0xff)
- {
- // 0xff is legal padding, but if we get that many, something's wrong.
- printf("JpgParse: too many padding bytes");
- return false;
- }
-
// Read the length of the section.
unsigned short itemlen = 0;
bytesRead = fread(&itemlen, 1, sizeof(itemlen), infile);