fixed build error with position of variable declaration after patch 856

This commit is contained in:
Mickael Savinaud 2011-08-11 08:37:11 +00:00
parent 4f329cbb45
commit e3e2dc1f6e
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@ What's New for OpenJPEG
+ : added
August 11, 2011
! [mickael] fixed wrong patch with the return value of fgets into convert.c file
* [mickael] fixed wrong patch with the return value of fgets into convert.c file
* [mickael] fixed build error with position of variable declaration after patch 856
August 10, 2011
! [mickael] removed unused parameters warnings with the solution proposed by myself and Bob Friesenhahn.

View File

@ -1861,10 +1861,10 @@ opj_image_t* j2k_decode_jpt_stream(opj_j2k_t *j2k, opj_cio_t *cio, opj_codestre
opj_image_t *image = NULL;
opj_jpt_msg_header_t header;
int position;
opj_common_ptr cinfo = j2k->cinfo;
OPJ_ARG_NOT_USED(cstr_info);
opj_common_ptr cinfo = j2k->cinfo;
j2k->cio = cio;
/* create an empty image */