diff --git a/src/epsimage.cpp b/src/epsimage.cpp index 41c06dd6..1cce9c32 100644 --- a/src/epsimage.cpp +++ b/src/epsimage.cpp @@ -261,6 +261,7 @@ namespace Exiv2 #endif } } + if (line.size() >= 1 && line[0] != '%') continue; // performance optimization if (line == "%%EOF" && posPageTrailer == size) { posPageTrailer = startPos; #ifdef DEBUG