summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-08-13 09:35:16 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-08-13 09:35:16 +0000
commit43c392626bff6d55dd11a5f2cf3b74a0ab0d5f4d (patch)
treea17fe02dce38e29da571019a706531d02b53acb3
parentd2865739585cadb6c2cf716d99e332d26f78c24d (diff)
rename jp2_write_colr_v2 to opj_jp2_write_colr
-rw-r--r--libopenjpeg/jp2.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c
index 8516e4a6..89543f09 100644
--- a/libopenjpeg/jp2.c
+++ b/libopenjpeg/jp2.c
@@ -106,8 +106,8 @@ static opj_bool opj_jp2_read_cdef( opj_jp2_v2_t * jp2,
*
* @return the data being copied.
*/
-static unsigned char *jp2_write_colr_v2(opj_jp2_v2_t *jp2,
- unsigned int * p_nb_bytes_written );
+static OPJ_BYTE * opj_jp2_write_colr( opj_jp2_v2_t *jp2,
+ OPJ_UINT32 * p_nb_bytes_written );
/**
Write the FTYP box - File type box
@@ -737,8 +737,9 @@ opj_bool opj_jp2_read_bpcc( opj_jp2_v2_t *jp2,
*
* @return the data being copied.
*/
-unsigned char *jp2_write_colr_v2( opj_jp2_v2_t *jp2,
- unsigned int * p_nb_bytes_written )
+OPJ_BYTE * opj_jp2_write_colr( opj_jp2_v2_t *jp2,
+ OPJ_UINT32 * p_nb_bytes_written
+ )
{
/* room for 8 bytes for box 3 for common data and variable upon profile*/
unsigned int l_colr_size = 11;
@@ -1296,12 +1297,12 @@ opj_bool opj_jp2_write_jp2h(opj_jp2_v2_t *jp2,
l_nb_pass = 3;
l_writers[0].handler = opj_jp2_write_ihdr;
l_writers[1].handler = opj_jp2_write_bpcc;
- l_writers[2].handler = jp2_write_colr_v2;
+ l_writers[2].handler = opj_jp2_write_colr;
}
else {
l_nb_pass = 2;
l_writers[0].handler = opj_jp2_write_ihdr;
- l_writers[1].handler = jp2_write_colr_v2;
+ l_writers[1].handler = opj_jp2_write_colr;
}
/* write box header */