Example how to dump associated data, if there is any.

This commit is contained in:
hw 2018-03-22 13:56:54 +01:00
parent 53df2bf860
commit 2c8e3b416c
1 changed files with 3 additions and 0 deletions

View File

@ -602,6 +602,9 @@ int main(int argc, char *argv[])
cstr_info = opj_get_cstr_info(l_codec); cstr_info = opj_get_cstr_info(l_codec);
/* Dum associated data if there is any */
opj_dump_associated_data(cstr_info, stdout);
cstr_index = opj_get_cstr_index(l_codec); cstr_index = opj_get_cstr_index(l_codec);
/* close the byte stream */ /* close the byte stream */