diff options
author | Thomas G. Lane <tgl@netcom.com> | 1995-03-15 00:00:00 +0000 |
---|---|---|
committer | DRC <information@libjpeg-turbo.org> | 2015-07-29 15:30:19 -0500 |
commit | a8b67c4fbbfde9b4b4e03f2dea8f4f0b1900fc33 (patch) | |
tree | 38c3f44f85dffa2162d0d80959797cf2b712bf1e /rdjpgcom.c | |
parent | 9ba2f5ed3649fb6de83d3c16e4dba1443aaca983 (diff) |
The Independent JPEG Group's JPEG software v5b
Diffstat (limited to 'rdjpgcom.c')
-rw-r--r-- | rdjpgcom.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,7 +1,7 @@ /* * rdjpgcom.c * - * Copyright (C) 1994, Thomas G. Lane. + * Copyright (C) 1994-1995, Thomas G. Lane. * This file is part of the Independent JPEG Group's software. * For conditions of distribution and use, see the accompanying README file. * @@ -102,7 +102,7 @@ read_2_bytes (void) #define M_SOF1 0xC1 /* N indicates which compression process */ #define M_SOF2 0xC2 /* Only SOF0 and SOF1 are now in common use */ #define M_SOF3 0xC3 -#define M_SOF5 0xC5 +#define M_SOF5 0xC5 /* NB: codes C4 and CC are NOT SOF markers */ #define M_SOF6 0xC6 #define M_SOF7 0xC7 #define M_SOF9 0xC9 @@ -262,7 +262,7 @@ process_SOFn (int marker) unsigned int image_height, image_width; int data_precision, num_components; const char * process; - int ci, c1, c2, c3; + int ci; length = read_2_bytes(); /* usual parameter length count */ @@ -296,9 +296,9 @@ process_SOFn (int marker) ERREXIT("Bogus SOF marker length"); for (ci = 0; ci < num_components; ci++) { - c1 = read_1_byte(); /* Component ID code */ - c2 = read_1_byte(); /* H, V sampling factors */ - c3 = read_1_byte(); /* Quant table number */ + (void) read_1_byte(); /* Component ID code */ + (void) read_1_byte(); /* H, V sampling factors */ + (void) read_1_byte(); /* Quantization table number */ } } |