[trunk] correct wrong input in dump_codec function and add missing return value

This commit is contained in:
Mickael Savinaud
2011-10-07 17:11:12 +00:00
parent 238652b36c
commit 35e13cf5e8
3 changed files with 4 additions and 1 deletions

View File

@@ -516,7 +516,7 @@ int main(int argc, char *argv[])
return EXIT_FAILURE;
}
opj_dump_codec(dinfo, OPJ_IMG_INFO | OPJ_J2K_MH_INFO | OPJ_J2K_MH_IND, stdout );
opj_dump_codec(dinfo, OPJ_IMG_INFO | OPJ_J2K_MH_INFO | OPJ_J2K_MH_IND, fout );
cstr_info = opj_get_cstr_info(dinfo);