summaryrefslogtreecommitdiff
path: root/libopenjpeg/openjpeg.c
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-10-21 16:36:04 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-10-21 16:36:04 +0000
commit028088f5f077b6cc666f8152736398df68ec239b (patch)
treebed941de09c01aab261776d105b554aedd9d155a /libopenjpeg/openjpeg.c
parent21178c3571a74bb84c39055347210970c1c76666 (diff)
[trunk] WIP: enhance codestream index generation
Diffstat (limited to 'libopenjpeg/openjpeg.c')
-rw-r--r--libopenjpeg/openjpeg.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/libopenjpeg/openjpeg.c b/libopenjpeg/openjpeg.c
index e43707f2..9706ff14 100644
--- a/libopenjpeg/openjpeg.c
+++ b/libopenjpeg/openjpeg.c
@@ -945,18 +945,8 @@ void OPJ_CALLCONV opj_destroy_cstr_index(opj_codestream_index_t **p_cstr_index)
{
if (*p_cstr_index){
- if((*p_cstr_index)->marker){
- opj_free((*p_cstr_index)->marker);
- (*p_cstr_index)->marker = NULL;
- }
-
- if((*p_cstr_index)->tile_index) {
- /* FIXME not used for the moment*/
- }
-
- opj_free((*p_cstr_index));
+ j2k_destroy_cstr_index(*p_cstr_index);
(*p_cstr_index) = NULL;
-
}
}