From 83b3c8b629d96f5fdf754d35d5f4f5369dbfef1d Mon Sep 17 00:00:00 2001 From: scuri Date: Thu, 20 Aug 2009 01:10:27 +0000 Subject: *** empty log message *** --- src/libjpeg/jcapimin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/libjpeg/jcapimin.c') diff --git a/src/libjpeg/jcapimin.c b/src/libjpeg/jcapimin.c index 54fb8c5..563ab42 100644 --- a/src/libjpeg/jcapimin.c +++ b/src/libjpeg/jcapimin.c @@ -63,8 +63,10 @@ jpeg_CreateCompress (j_compress_ptr cinfo, int version, size_t structsize) cinfo->comp_info = NULL; - for (i = 0; i < NUM_QUANT_TBLS; i++) + for (i = 0; i < NUM_QUANT_TBLS; i++) { cinfo->quant_tbl_ptrs[i] = NULL; + cinfo->q_scale_factor[i] = 100; + } for (i = 0; i < NUM_HUFF_TBLS; i++) { cinfo->dc_huff_tbl_ptrs[i] = NULL; -- cgit v1.2.3