[trunk] rename opj_destroy_cstr_info_v2 to opj_destroy_cstr_info
This commit is contained in:
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
|
||||
if(!opj_get_decoded_tile(l_codec, l_stream, image, tile_index )){ \
|
||||
fprintf(stderr, "ERROR -> j2k_to_image: failed to decode tile %d\n", tile_index); \
|
||||
opj_stream_destroy(l_stream); \
|
||||
opj_destroy_cstr_info_v2(&cstr_info); \
|
||||
opj_destroy_cstr_info(&cstr_info); \
|
||||
opj_destroy_codec(l_codec); \
|
||||
opj_image_destroy(image); \
|
||||
fclose(fsrc); \
|
||||
@@ -282,7 +282,7 @@ int main(int argc, char **argv)
|
||||
opj_stream_destroy(l_stream);
|
||||
|
||||
/* Destroy code stream info */
|
||||
opj_destroy_cstr_info_v2(&cstr_info);
|
||||
opj_destroy_cstr_info(&cstr_info);
|
||||
|
||||
/* Free remaining structures */
|
||||
opj_destroy_codec(l_codec);
|
||||
|
||||
Reference in New Issue
Block a user