Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/867
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Nov 17, 2017
1 parent 3a65092 commit e5dae18
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions coders/dds.c
Original file line number Diff line number Diff line change
Expand Up @@ -2402,6 +2402,8 @@ static MagickBooleanType SkipDXTMipmaps(Image *image,DDSInfo *dds_info,
break;
w = DIV2(w);
h = DIV2(h);
if ((w == 1) && (h == 1))
break;
}
}
return(MagickTrue);
Expand Down Expand Up @@ -2449,6 +2451,8 @@ static MagickBooleanType SkipRGBMipmaps(Image *image,DDSInfo *dds_info,
break;
w = DIV2(w);
h = DIV2(h);
if ((w == 1) && (h == 1))
break;
}
}
return(MagickTrue);
Expand Down

0 comments on commit e5dae18

Please sign in to comment.