< prev index next >
src/java.desktop/share/native/libjavajpeg/jcmaster.c
Print this page
*** 233,243 ****
--- 233,247 ----
/* For sequential JPEG, all progression parameters must be these: */
if (Ss != 0 || Se != DCTSIZE2-1 || Ah != 0 || Al != 0)
ERREXIT1(cinfo, JERR_BAD_PROG_SCRIPT, scanno);
/* Make sure components are not sent twice */
for (ci = 0; ci < ncomps; ci++) {
+ #ifdef __GNUC__
+ #pragma GCC diagnostic ignored "-Warray-bounds"
+ #endif
thisi = scanptr->component_index[ci];
+
if (component_sent[thisi])
ERREXIT1(cinfo, JERR_BAD_SCAN_SCRIPT, scanno);
component_sent[thisi] = TRUE;
}
}
< prev index next >