diff --git a/CHANGES b/CHANGES index c9f3b724..edf2a338 100644 --- a/CHANGES +++ b/CHANGES @@ -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. diff --git a/libopenjpeg/j2k.c b/libopenjpeg/j2k.c index 32e8bd95..a07951ad 100644 --- a/libopenjpeg/j2k.c +++ b/libopenjpeg/j2k.c @@ -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 */