Skip to content
Permalink
Browse files Browse the repository at this point in the history
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26861
  • Loading branch information
cristy committed Jan 11, 2015
1 parent 9b428b7 commit 3ab0167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/dds.c
Expand Up @@ -2435,8 +2435,8 @@ static MagickBooleanType SkipRGBMipmaps(Image *image,DDSInfo *dds_info,
for (i=1; (i < (ssize_t) dds_info->mipmapcount) && w && h; i++)
{
offset = (MagickOffsetType) w * h * pixel_size;
(void) SeekBlob(image, offset, SEEK_CUR);

if (SeekBlob(image,offset,SEEK_CUR) < 0)
break;
w = DIV2(w);
h = DIV2(h);
}
Expand Down

0 comments on commit 3ab0167

Please sign in to comment.