From dfe65c42149084b4e77e59db6697bc798e3f0bd8 Mon Sep 17 00:00:00 2001 From: vog Date: Mon, 20 Jun 2011 01:10:41 +0000 Subject: [PATCH] #689: Improved performance of EpsImage --- src/epsimage.cpp | 1 + 1 file changed, 1 insertion(+) 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