Skip to content
Permalink
Browse files Browse the repository at this point in the history
No commit message
  • Loading branch information
cristy committed Jan 11, 2015
1 parent 4def2f0 commit 9b428b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coders/dds.c
Expand Up @@ -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);
}
Expand Down

0 comments on commit 9b428b7

Please sign in to comment.