Replace C++ style comments by C ones
This commit is contained in:
parent
d415723fd9
commit
ce8edf9bff
|
@ -247,8 +247,8 @@ static OPJ_BOOL opj_sparse_array_int32_read_or_write(
|
||||||
const OPJ_INT32* OPJ_RESTRICT src_ptr = buf + (y - y0) *
|
const OPJ_INT32* OPJ_RESTRICT src_ptr = buf + (y - y0) *
|
||||||
(OPJ_SIZE_T)buf_line_stride + (x - x0) * buf_col_stride;
|
(OPJ_SIZE_T)buf_line_stride + (x - x0) * buf_col_stride;
|
||||||
if (x_incr == 4) {
|
if (x_incr == 4) {
|
||||||
// Same code as general branch, but the compiler
|
/* Same code as general branch, but the compiler */
|
||||||
// can have an efficient memcpy()
|
/* can have an efficient memcpy() */
|
||||||
for (j = 0; j < y_incr; j++) {
|
for (j = 0; j < y_incr; j++) {
|
||||||
memcpy(dest_ptr, src_ptr, sizeof(OPJ_INT32) * x_incr);
|
memcpy(dest_ptr, src_ptr, sizeof(OPJ_INT32) * x_incr);
|
||||||
dest_ptr += block_width;
|
dest_ptr += block_width;
|
||||||
|
|
Loading…
Reference in New Issue