ylb11 / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

opj_setup_encoder always returns true #497

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by boxe...@gmail.com on 29 May 2015 at 6:46

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This is also a problem with:

opj_set_decoded_resolution_factor

Original comment by boxe...@gmail.com on 29 May 2015 at 8:01

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r3006.

Original comment by m.darb...@gmail.com on 29 May 2015 at 9:58