diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-13 09:58:43 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-08-13 09:58:43 +0000 |
| commit | 094b952d70d3fb5dce1fb97de5140cf6d3d58c38 (patch) | |
| tree | c3b98da796a45cb0388565a93f45380214baf293 | |
| parent | 3821a4e0547ce2bc19ca2d1afaca67dd62d69929 (diff) | |
remove deprecated v1 style function jp2_write_jp
| -rw-r--r-- | libopenjpeg/jp2.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index 39f99bfe..e2c7842f 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -178,8 +178,6 @@ static opj_bool opj_jp2_write_jp2c( opj_jp2_v2_t *jp2, opj_stream_private_t *cio, opj_event_mgr_t * p_manager ); -static void jp2_write_jp(opj_cio_t *cio); - /** * Reads a jpeg2000 file signature box. * @@ -1464,20 +1462,6 @@ opj_bool opj_jp2_write_jp2c(opj_jp2_v2_t *jp2, 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. * |
