comp->sgnd = cmptparms[compno].sgnd;
if (comp->h != 0 &&
(OPJ_SIZE_T)comp->w > SIZE_MAX / comp->h / sizeof(OPJ_INT32)) {
- // TODO event manager
+ /* TODO event manager */
opj_image_destroy(image);
return NULL;
}
+
(x - x0) * buf_col_stride;
if (x_incr == 4) {
- // Same code as general branch, but the compiler
- // can have an efficient memcpy()
+ /* Same code as general branch, but the compiler */
+ /* can have an efficient memcpy() */
for (j = 0; j < y_incr; j++) {
memcpy(dest_ptr, src_ptr, sizeof(OPJ_INT32) * x_incr);
dest_ptr += buf_line_stride;