summaryrefslogtreecommitdiff
path: root/codec/j2k_dump.c
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-22 11:55:36 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2010-06-22 11:55:36 +0000
commit6621494d9d76576f536ab91d060a029cc5e95c50 (patch)
tree2e51111d064888579a299a1aff3705915ea8c236 /codec/j2k_dump.c
parent2374885ac01d64e734937014092088d4fc2bbe6f (diff)
Apply patch from w. szukalski (sent to list). Mon, Jun 21, 2010 at 5:49 PM
Diffstat (limited to 'codec/j2k_dump.c')
-rw-r--r--codec/j2k_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codec/j2k_dump.c b/codec/j2k_dump.c
index 6d92bcbb..a63c9946 100644
--- a/codec/j2k_dump.c
+++ b/codec/j2k_dump.c
@@ -317,7 +317,7 @@ int main(int argc, char *argv[])
int file_length;
int num_images;
int i,imageno;
- dircnt_t *dirptr;
+ dircnt_t *dirptr = NULL;
opj_dinfo_t* dinfo = NULL; /* handle to a decompressor */
opj_cio_t *cio = NULL;
opj_codestream_info_t cstr_info; /* Codestream information structure */