Fixed bug (compatibility between index_create and j2k_decode)