[trunk] JP3D: this is safe to write comment using Registration: ISO-8859-15

This commit is contained in:
Mathieu Malaterre 2012-11-28 12:21:51 +00:00
parent 7980115412
commit be5e6941bf
1 changed files with 1 additions and 1 deletions

View File

@ -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;