diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-09-10 09:42:29 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-09-10 09:42:29 +0000 |
| commit | 3991bbe59537e26b132be1c6af16112283bf1ace (patch) | |
| tree | 675b855a80708dc158e273aac137cbcb2ac38d0a /libopenjpeg | |
| parent | 20beb093a1c39d5824938721a4c4c945197d23f8 (diff) | |
[trunk] Fix some C90 issues.
Diffstat (limited to 'libopenjpeg')
| -rw-r--r-- | libopenjpeg/jpwl/jpwl.c | 2 | ||||
| -rw-r--r-- | libopenjpeg/jpwl/jpwl_lib.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libopenjpeg/jpwl/jpwl.c b/libopenjpeg/jpwl/jpwl.c index a7e124c1..ba8cac5a 100644 --- a/libopenjpeg/jpwl/jpwl.c +++ b/libopenjpeg/jpwl/jpwl.c @@ -179,7 +179,7 @@ opj_bool j2k_add_marker(opj_codestream_info_t *cstr_info, unsigned short int typ cstr_info->marknum = 0; cstr_info->maxmarknum = 0; /* opj_event_msg_v2(p_manager, EVT_ERROR, "Not enough memory to add a marker\n"); */ - // TODO_test_add_marker_result; + /* TODO_test_add_marker_result;*/ return OPJ_FALSE; } cstr_info->marker = new_marker; diff --git a/libopenjpeg/jpwl/jpwl_lib.c b/libopenjpeg/jpwl/jpwl_lib.c index ee01aa05..b75cfdb1 100644 --- a/libopenjpeg/jpwl/jpwl_lib.c +++ b/libopenjpeg/jpwl/jpwl_lib.c @@ -327,7 +327,7 @@ void jpwl_epb_write(opj_j2k_t *j2k, jpwl_epb_ms_t *epb, unsigned char *buf) { /* update markers struct */ j2k_add_marker(j2k->cstr_info, J2K_MS_EPB, -1, epb->Lepb + 2); -}; +} jpwl_epc_ms_t *jpwl_epc_create(opj_j2k_t *j2k, opj_bool esd_on, opj_bool red_on, opj_bool epb_on, opj_bool info_on) { @@ -1190,7 +1190,7 @@ void jpwl_epc_write(opj_j2k_t *j2k, jpwl_epc_ms_t *epc, unsigned char *buf) { /* update markers struct */ j2k_add_marker(j2k->cstr_info, J2K_MS_EPC, -1, epc->Lepc + 2); -}; +} int jpwl_esds_add(opj_j2k_t *j2k, jpwl_marker_t *jwmarker, int *jwmarker_num, int comps, unsigned char addrm, unsigned char ad_size, |
