{"push_id":637272544,"size":3,"distinct_size":3,"ref":"refs/heads/master","head":"b4b196af1c02acef15b8e1b9fd205b30393f1a37","before":"e4be8fae2c3688094fbc6e4721fdab5495712234","commits":[{"sha":"f224bc2cdbbcf603a2d36e275a277a1969635aee","author":{"email":"3e6e36ce2dd4bb42c00b95dbdc006e7dfec632b5@gmail.com","name":"Fabian Giesen"},"message":"stb_image: Progressive AC decoding - fix ZRL code.\n\nThe original AC decoding logic handled ZRL (runs of 16 zeros)\nincorrectly.\n\nThe problem is that the original flow set r=16 and skipped the\nfinal coeff write when s=0. This is not actually correct. The\nproblem is the intervening \"refinement\" bits.\n\nWith the original logic, even once we decrement r to 0, we keep\nreading more refinement bits for subsequent coefficients until\nwe find the next currently-unsent AC in the current scan. That is,\nit works as if it was trying to place 17 new AC values, and only\nbails at the last minute from actually setting that 17th value.\n\nThis is wrong. Once we've found the 16th previously-unsent AC, we\nneed to stop reading refinement bits, otherwise we get out of sync\nwith the bit stream (which expects us to read a huffman code next).\n\nThe easiest fix is to just do what the JPEG standard implicitly\nassumes anyway: treat ZRL as a run of 15 zeros followed by an\nexplicit magnitude-zero AC coeff. (That is, leave s=0 and actually\nwrite s). So this is what this fix does.","distinct":true,"url":"https://api.github.com/repos/nothings/stb/commits/f224bc2cdbbcf603a2d36e275a277a1969635aee"},{"sha":"ac5e25ae01b82018adca7fbcf8e5e58dbc322e07","author":{"email":"0d1b302e2a76a3e94eb2ebcab1da6a9ad7aab2ed@nothings.org","name":"Sean Barrett"},"message":"bump stb_image to version 2.05, tweak docs","distinct":true,"url":"https://api.github.com/repos/nothings/stb/commits/ac5e25ae01b82018adca7fbcf8e5e58dbc322e07"},{"sha":"b4b196af1c02acef15b8e1b9fd205b30393f1a37","author":{"email":"0d1b302e2a76a3e94eb2ebcab1da6a9ad7aab2ed@nothings.org","name":"Sean Barrett"},"message":"update version numbers","distinct":true,"url":"https://api.github.com/repos/nothings/stb/commits/b4b196af1c02acef15b8e1b9fd205b30393f1a37"}]}