[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/graphics/digikam/kioslave
From:       Renchi Raju <renchi () pooh ! tam ! uiuc ! edu>
Date:       2005-07-27 9:58:23
Message-ID: 1122458303.342784.17451.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 439168 by pahlibar:

there was an infinite loop in the exif orientation scanning 
code which prevented the thumbnail from being generated for
some images. the design of the load-on-demand thumbnail-generator
prevents the next thumbnails from being loaded before the 
current one is finished.

BUGS: 107742


 M  +1 -1      exiforientation_p.h  


--- trunk/extragear/graphics/digikam/kioslave/exiforientation_p.h #439167:439168
@@ -71,7 +71,7 @@
       stream >> byte;
 
       // consume 0xff's used for padding
-      while(byte == 0xff)
+      while(byte == 0xff && !stream.atEnd())
         stream >> byte;
 
       // stop when we reach APP0 marker or start of image data
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic