Fix unintended renaming

pull/1/head
Darrell Anderson 11 years ago
parent 6ce321b215
commit cce1fc2ced

@ -193,10 +193,10 @@ read_icc_profile (j_decompress_ptr cinfo,
int seq_no;
JOCTET *icc_data;
unsigned int total_length;
#define MAX_SETQ_NO 255 /* sufficient since marker numbers are bytes */
char marker_present[MAX_SETQ_NO+1]; /* 1 if marker found */
unsigned int data_length[MAX_SETQ_NO+1]; /* size of profile data in marker */
unsigned int data_offset[MAX_SETQ_NO+1]; /* offset for data in marker */
#define MAX_SEQ_NO 255 /* sufficient since marker numbers are bytes */
char marker_present[MAX_SEQ_NO+1]; /* 1 if marker found */
unsigned int data_length[MAX_SEQ_NO+1]; /* size of profile data in marker */
unsigned int data_offset[MAX_SEQ_NO+1]; /* offset for data in marker */
*icc_data_ptr = NULL; /* avoid confusion if FALSE return */
*icc_data_len = 0;
@ -205,7 +205,7 @@ read_icc_profile (j_decompress_ptr cinfo,
* any ICC markers and verifies the consistency of the marker numbering.
*/
for (seq_no = 1; seq_no <= MAX_SETQ_NO; seq_no++)
for (seq_no = 1; seq_no <= MAX_SEQ_NO; seq_no++)
marker_present[seq_no] = 0;
for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) {

Loading…
Cancel
Save