From fc35039e97ae63e9542404f512fa126055ee4c67 Mon Sep 17 00:00:00 2001 From: paulberg Date: Sat, 25 Feb 2006 22:08:39 +0000 Subject: Initial commit of Vollbeding changes --- jcapimin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jcapimin.c') diff --git a/jcapimin.c b/jcapimin.c index 54fb8c5..563ab42 100644 --- a/jcapimin.c +++ b/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.1