Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opj_setup_encoder always returns true #497

Closed
gcode-importer opened this issue May 29, 2015 · 2 comments
Closed

opj_setup_encoder always returns true #497

gcode-importer opened this issue May 29, 2015 · 2 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 497

Looking at this method:

OPJ_BOOL OPJ_CALLCONV opj_setup_encoder(opj_codec_t *p_codec, 
                    opj_cparameters_t *parameters, 
                    opj_image_t *p_image);

If p_codec is an encoder, then this function always returns true. It should in fact
return the return value of the actual opj_setup_encoder function pointer.




Reported by boxerab on 2015-05-29 18:46:36

@gcode-importer
Copy link
Author

This is also a problem with:

opj_set_decoded_resolution_factor

Reported by boxerab on 2015-05-29 20:01:56

@gcode-importer
Copy link
Author

This issue was closed by revision r3006.

Reported by mayeut on 2015-05-29 21:58:16

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants