From: Mathieu Malaterre Date: Wed, 28 Nov 2012 12:21:51 +0000 (+0000) Subject: [trunk] JP3D: this is safe to write comment using Registration: ISO-8859-15 X-Git-Tag: version.2.0.1~4^2~321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be5e6941bfa341f95fdb10ae5aca4292a50f8767;p=openjpeg [trunk] JP3D: this is safe to write comment using Registration: ISO-8859-15 --- 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;