summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2011-10-06 08:05:00 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2011-10-06 08:05:00 +0000
commitfd67d46be709b3b951a3bfc778550b787b6fe225 (patch)
tree066a4b219db387c102ed2db5a2e9427d1022077e
parentee0e8a3aadbf56004ff51649cfe5d06cb5c61326 (diff)
[trunk] WIP: fix build error with windows configuration induced by rev 960
-rw-r--r--CHANGES3
-rw-r--r--applications/codec/j2k_to_image.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index 779b1e93..6511cfdd 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,9 @@ What's New for OpenJPEG
! : changed
+ : added
+October 06, 2011
+* [mickael] WIP: fix build errors with windows configuration induced by rev 960
+
October 05, 2011
+ [mickael] WIP: fix the decoding process with conformance files and V2 framework
diff --git a/applications/codec/j2k_to_image.c b/applications/codec/j2k_to_image.c
index d110b58b..65ba1e5a 100644
--- a/applications/codec/j2k_to_image.c
+++ b/applications/codec/j2k_to_image.c
@@ -579,7 +579,7 @@ int main(int argc, char **argv)
opj_image_t image;
opj_stream_t *cio = NULL; /* Stream */
opj_codec_t* dinfo = NULL; /* Handle to a decompressor */
-
+ opj_bool bRes1, bRes2;
char indexfilename[OPJ_PATH_LEN]; /* index file name */
@@ -715,8 +715,8 @@ int main(int argc, char **argv)
/* Get the decoded image */
- opj_bool bRes1 = opj_decode_v2(dinfo, cio, &image);
- opj_bool bRes2 = opj_end_decompress(dinfo,cio);
+ bRes1 = opj_decode_v2(dinfo, cio, &image);
+ bRes2 = opj_end_decompress(dinfo,cio);
/*if ( !(opj_decode_v2(dinfo, cio, &image)) || !(opj_end_decompress(dinfo,cio)) ) {*/
if ( !bRes1 || !bRes2) {