Skip to content
Permalink
Browse files Browse the repository at this point in the history
Moved check for #92.
  • Loading branch information
dlemstra committed Feb 2, 2016
1 parent 922927e commit 30eec87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coders/psd.c
Expand Up @@ -487,6 +487,7 @@ static ssize_t DecodePSDPixels(const size_t number_compact_pixels,
length++;
for (j=0; j < (ssize_t) length; j++)
{
CheckNumberCompactPixels;
switch (depth)
{
case 1:
Expand Down Expand Up @@ -525,7 +526,6 @@ static ssize_t DecodePSDPixels(const size_t number_compact_pixels,
break;
}
}
CheckNumberCompactPixels;
compact_pixels++;
}
}
Expand Down

0 comments on commit 30eec87

Please sign in to comment.