diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-03-19 09:51:23 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-03-19 09:51:23 +0000 |
| commit | e6f8b59010bb15c8854b622a357f7ce7054e2f01 (patch) | |
| tree | 5057f491308f79ddbab08ecf30b34a2cc67035e8 /libopenjpeg/tcd.c | |
| parent | 8e65846f3256484d93efeef6e526bbf214d890c2 (diff) | |
[trunk] replace more void* object pointer to proper function pointer: opj_procedure. Remove some warnings reported by gcc -pedantic
Diffstat (limited to 'libopenjpeg/tcd.c')
| -rw-r--r-- | libopenjpeg/tcd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 3b866dd1..acbf8cee 100644 --- a/libopenjpeg/tcd.c +++ b/libopenjpeg/tcd.c @@ -3241,15 +3241,15 @@ opj_bool tcd_mct_encode ( opj_tcd_v2_t *p_tcd ) ++l_tile_comp; } - if (! mct_encode_custom(// MCT data + if (! mct_encode_custom(/* MCT data */ (OPJ_BYTE*) p_tcd->tcp->m_mct_coding_matrix, - // size of components + /* size of components */ samples, - // components + /* components */ l_data, - // nb of components (i.e. size of pData) + /* nb of components (i.e. size of pData) */ l_tile->numcomps, - // tells if the data is signed + /* tells if the data is signed */ p_tcd->image->comps->sgnd) ) { opj_free(l_data); @@ -3306,7 +3306,7 @@ opj_bool tcd_t1_encode ( opj_tcd_v2_t *p_tcd ) } if (l_tcp->mct == 1) { - // irreversible encoding + /* irreversible encoding */ if (l_tcp->tccps->qmfbid == 0) { l_mct_norms = get_mct_norms_real(); } |
