diff --git a/src/lib/openjp3d/jp3d.c b/src/lib/openjp3d/jp3d.c index e54617b0..c21d7442 100755 --- a/src/lib/openjp3d/jp3d.c +++ b/src/lib/openjp3d/jp3d.c @@ -780,7 +780,7 @@ static void j3d_write_com(opj_j3d_t *j3d) { cio_write(cio, J3D_MS_COM, 2); lenp = cio_tell(cio); cio_skip(cio, 2); - cio_write(cio, 0, 2); + cio_write(cio, 1, 2); /*opj_event_msg(j3d->cinfo, EVT_INFO, "TRF %D ENCOD %d\n",j3d->cp->transform_format,j3d->cp->encoding_format);*/ if (j3d->cp->comment != NULL) { char *comment = j3d->cp->comment;