aboutsummaryrefslogtreecommitdiffstats
path: root/src/jpeg.c
diff options
context:
space:
mode:
authorJohn Hawthorn <jhawthor@uvic.ca>2008-06-22 01:34:45 -0700
committerJohn Hawthorn <jhawthor@uvic.ca>2008-06-22 01:34:45 -0700
commit292cf3ee0494b14e6f82df755ae02b2f078afc35 (patch)
tree624dd892b6d44e85131a5a192eb3093ebc1e0428 /src/jpeg.c
parent12fe3f62f2931f296beb130840c091542647319b (diff)
downloadmirror-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index db36a8b..e2d37d1 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -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;