]> granicus.if.org Git - openjpeg/commitdiff
Fixed bug (compatibility between index_create and j2k_decode)
authorAntonin Descampe <antonin@gmail.com>
Fri, 16 Jul 2004 09:57:26 +0000 (09:57 +0000)
committerAntonin Descampe <antonin@gmail.com>
Fri, 16 Jul 2004 09:57:26 +0000 (09:57 +0000)
indexer_JPIP/index_create.c

index 0dfee7f8ffa528fe287f5b1d97fc8bf6d0ec6b0d..9aaa8fc468861e7e3c1c8cb50aac12877e1ac179 100644 (file)
@@ -1104,7 +1104,7 @@ int j2k_decode(unsigned char *src, int len, j2k_image_t *image, j2k_cp_t *cp) {
         }
         return cio_numbytes();
     }
-    j2k_img = img;
+    j2k_img = image;
     j2k_cp = cp;
     j2k_state = J2K_STATE_MHSOC;
     cio_init(src, len);