diff
24   if (cinfo->num_components > MAX_COMPS_IN_SCAN) {
25       cinfo->num_components = MAX_COMPS_IN_SCAN;
26   }
27   for (i = 0; i < cinfo->num_components; i++)
