This commit is contained in:
Sean Barrett 2015-01-17 08:19:22 -08:00
commit 974ca12fb8

View File

@ -1768,7 +1768,7 @@ static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__
} else {
if (r == 0) {
if (s)
data[stbi__jpeg_dezigzag[k++]] = s;
data[stbi__jpeg_dezigzag[k++]] = (short) s;
break;
}
--r;