Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header

This commit is contained in:
Francois-Olivier Devaux
2007-02-19 09:59:29 +00:00
parent d084ff59f2
commit eac141b69a
5 changed files with 30 additions and 0 deletions

View File

@@ -116,6 +116,7 @@ void OPJ_CALLCONV opj_set_default_decoder_parameters(opj_dparameters_t *paramete
/* default decoding parameters */
parameters->cp_layer = 0;
parameters->cp_reduce = 0;
parameters->cp_limit_decoding = NO_LIMITATION;
parameters->decod_format = -1;
parameters->cod_format = -1;