Skip to content
Permalink
Browse files

No commit message

  • Loading branch information...
cristy
cristy committed Jan 11, 2015
1 parent 4def2f0 commit 9b428b7af688fe319320aed15f2b94281d1e37b4
Showing with 2 additions and 2 deletions.
  1. +2 −2 coders/dds.c
@@ -2388,8 +2388,8 @@ static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info,
for (i = 1; (i < (ssize_t) dds_info->mipmapcount) && w && h; i++)
{
offset = (MagickOffsetType) ((w + 3) / 4) * ((h + 3) / 4) * texel_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 9b428b7

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