add note on illegal shift in color.c color_cmyk_to_rgb
This commit is contained in:
parent
4f4cf2ee8c
commit
496ff4877b
|
@ -1072,6 +1072,7 @@ void color_esycc_to_rgb(opj_image_t *image)
|
|||
int y, cb, cr, sign1, sign2, val;
|
||||
unsigned int w, h, max, i;
|
||||
int flip_value = (1 << (image->comps[0].prec - 1));
|
||||
// runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
|
||||
int max_value = (1 << image->comps[0].prec) - 1;
|
||||
|
||||
if (
|
||||
|
|
Loading…
Reference in New Issue