remove deprecated v1 style function jp2_write_jp

This commit is contained in:
Mickael Savinaud 2012-08-13 09:58:43 +00:00
parent 3821a4e054
commit 094b952d70
1 changed files with 0 additions and 16 deletions

View File

@ -178,8 +178,6 @@ static opj_bool opj_jp2_write_jp2c( opj_jp2_v2_t *jp2,
opj_stream_private_t *cio, opj_stream_private_t *cio,
opj_event_mgr_t * p_manager ); opj_event_mgr_t * p_manager );
static void jp2_write_jp(opj_cio_t *cio);
/** /**
* Reads a jpeg2000 file signature box. * Reads a jpeg2000 file signature box.
* *
@ -1464,20 +1462,6 @@ opj_bool opj_jp2_write_jp2c(opj_jp2_v2_t *jp2,
return OPJ_TRUE; return OPJ_TRUE;
} }
static void jp2_write_jp(opj_cio_t *cio) {
opj_jp2_box_t box;
box.init_pos = cio_tell(cio);
cio_skip(cio, 4);
cio_write(cio, JP2_JP, 4); /* JP2 signature */
cio_write(cio, 0x0d0a870a, 4);
box.length = cio_tell(cio) - box.init_pos;
cio_seek(cio, box.init_pos);
cio_write(cio, box.length, 4); /* L */
cio_seek(cio, box.init_pos + box.length);
}
/** /**
* Writes a jpeg2000 file signature box. * Writes a jpeg2000 file signature box.
* *