summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-28 12:21:51 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-11-28 12:21:51 +0000
commitbe5e6941bfa341f95fdb10ae5aca4292a50f8767 (patch)
tree68ad0d2a9b13e5e85cd1f6630bb632772c7a26d5 /src
parent7980115412141a82795f37ada12f4eb49d8e81fb (diff)
[trunk] JP3D: this is safe to write comment using Registration: ISO-8859-15
Diffstat (limited to 'src')
-rwxr-xr-xsrc/lib/openjp3d/jp3d.c2
1 files changed, 1 insertions, 1 deletions
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;