[trunk] Enhance support of events like the v2 branch. Use right name of variables.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user