diff options
Diffstat (limited to 'src/libjpeg/jcapimin.c')
-rw-r--r-- | src/libjpeg/jcapimin.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |