diff options
| author | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-08-28 10:13:58 +0000 |
|---|---|---|
| committer | Francois-Olivier Devaux <fodevaux@users.noreply.github.com> | 2007-08-28 10:13:58 +0000 |
| commit | d07fa5d9d0b5f3452831e4c0c9da1f03d30a1299 (patch) | |
| tree | d974ff8729b08bb9caa998c95996591debf83cd5 /libopenjpeg/j2k.c | |
| parent | c101f8049c23a01fa0d37e0eb586c7dff6c75869 (diff) | |
Fixed wrong destructors called in openjpeg.c
Fixed bug in j2k_decode_jpt_stream
Diffstat (limited to 'libopenjpeg/j2k.c')
| -rw-r--r-- | libopenjpeg/j2k.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index c380782f..cbf6a1fa 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -1816,6 +1816,7 @@ opj_image_t* j2k_decode_jpt_stream(opj_j2k_t *j2k, opj_cio_t *cio) { /* create an empty image */ image = opj_image_create0(); + j2k->image = image; j2k->state = J2K_STATE_MHSOC; |
