summaryrefslogtreecommitdiff
path: root/applications/codec
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 /applications/codec
parentee0e8a3aadbf56004ff51649cfe5d06cb5c61326 (diff)
[trunk] WIP: fix build error with windows configuration induced by rev 960
Diffstat (limited to 'applications/codec')
-rw-r--r--applications/codec/j2k_to_image.c6
1 files changed, 3 insertions, 3 deletions
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) {