[trunk] Enhance support of events like the v2 branch. Use right name of variables.

This commit is contained in:
Mickael Savinaud
2012-05-02 07:01:13 +00:00
parent 8231897b26
commit 055d429ae1
9 changed files with 572 additions and 522 deletions

View File

@@ -225,9 +225,9 @@ int main ()
}
/* catch events using our callbacks and give a local context */
//opj_set_info_handler(l_codec, info_callback,00);
//opj_set_warning_handler(l_codec, warning_callback,00);
//opj_set_error_handler(l_codec, error_callback,00);
opj_set_info_handler(l_codec, info_callback,00);
opj_set_warning_handler(l_codec, warning_callback,00);
opj_set_error_handler(l_codec, error_callback,00);
l_image = opj_image_tile_create(NUM_COMPS,l_params,CLRSPC_SRGB);
if (! l_image) {