Skip to content
Permalink
Browse files

http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=26861

  • Loading branch information...
cristy
cristy committed Jan 11, 2015
1 parent 9b428b7 commit 3ab016764c7f787829d9065440d86f5609765110
Showing with 2 additions and 2 deletions.
  1. +2 −2 coders/dds.c
@@ -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);
}

0 comments on commit 3ab0167

Please sign in to comment.
You can’t perform that action at this time.