diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2008-06-22 01:34:45 -0700 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2008-06-22 01:34:45 -0700 |
commit | 292cf3ee0494b14e6f82df755ae02b2f078afc35 (patch) | |
tree | 624dd892b6d44e85131a5a192eb3093ebc1e0428 /src/jpeg.c | |
parent | 12fe3f62f2931f296beb130840c091542647319b (diff) | |
download | mirror-meh-292cf3ee0494b14e6f82df755ae02b2f078afc35.tar.gz mirror-meh-292cf3ee0494b14e6f82df755ae02b2f078afc35.tar.bz2 mirror-meh-292cf3ee0494b14e6f82df755ae02b2f078afc35.zip |
cleanup
Diffstat (limited to 'src/jpeg.c')
-rw-r--r-- | src/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ static struct image *jpeg_open(FILE *f){ j->cinfo.do_fancy_upsampling = 0; j->cinfo.do_block_smoothing = 0; j->cinfo.quantize_colors = 0; - j->cinfo.dct_method = JDCT_IFAST; + j->cinfo.dct_method = JDCT_FASTEST; jpeg_calc_output_dimensions(&j->cinfo); @@ -62,7 +62,7 @@ static struct image *jpeg_open(FILE *f){ static int jpeg_read(struct image *img){ struct jpeg_t *j = (struct jpeg_t *)img; JSAMPARRAY buffer; - int row_stride; + unsigned int row_stride; int a = 0, b; unsigned int x, y; |