From: sgunderson@bigfoot.com <> Date: Sun, 31 May 2009 11:12:26 +0000 (+0200) Subject: Unfix the coefficient fix. X-Git-Url: https://git.sesse.net/?p=fjl;a=commitdiff_plain;h=d0afece00533a174faf2ce93633ca9731be89fc0;hp=9d2d4ff08d760e0abd83d2cea03c77d5b752a400 Unfix the coefficient fix. --- diff --git a/driver.c b/driver.c index 6a7a8ec..2e5bda6 100644 --- a/driver.c +++ b/driver.c @@ -163,11 +163,10 @@ void read_scan(struct byte_source* source, struct jpeg_image* image, huffman_tab i += 15; continue; } + i += r; possibly_refill(&bits, s); coeff[unzigzag[i]] = extend(read_bits(&bits, s), s); - - i += r; } uint8_t pixdata[DCTSIZE2];