diff --git a/libopenjpeg/jp2.c b/libopenjpeg/jp2.c index ebbc419a..301e7359 100644 --- a/libopenjpeg/jp2.c +++ b/libopenjpeg/jp2.c @@ -118,9 +118,9 @@ static OPJ_BYTE * opj_jp2_write_colr( opj_jp2_v2_t *jp2, * * @return true if writting was successful. */ -static opj_bool jp2_write_ftyp_v2( opj_jp2_v2_t *jp2, - struct opj_stream_private *cio, - struct opj_event_mgr * p_manager ); +static opj_bool opj_jp2_write_ftyp( opj_jp2_v2_t *jp2, + opj_stream_private_t *cio, + opj_event_mgr_t * p_manager ); /** * Reads a a FTYP box - File type box @@ -1369,7 +1369,7 @@ opj_bool opj_jp2_write_jp2h(opj_jp2_v2_t *jp2, * * @return true if writting was successful. */ -opj_bool jp2_write_ftyp_v2( opj_jp2_v2_t *jp2, +opj_bool opj_jp2_write_ftyp(opj_jp2_v2_t *jp2, opj_stream_private_t *cio, opj_event_mgr_t * p_manager ) { @@ -2432,7 +2432,7 @@ void jp2_setup_header_writting (opj_jp2_v2_t *jp2) assert(jp2 != 00); opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)jp2_write_jp_v2 ); - opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)jp2_write_ftyp_v2 ); + opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_write_ftyp ); opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)opj_jp2_write_jp2h ); opj_procedure_list_add_procedure(jp2->m_procedure_list,(opj_procedure)jp2_skip_jp2c );