summaryrefslogtreecommitdiff
path: root/src/bin/jpip/opj_jpip_transcode.c
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-29 16:24:39 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2012-10-29 16:24:39 +0000
commit82d29d4c2a56dabfcb66b64d9d9c498e1d78e77c (patch)
tree45ae08c9bde188f3f79be3260cd72ba431c29685 /src/bin/jpip/opj_jpip_transcode.c
parent1a5791750be5f96591d22efc137083cdee0eaeec (diff)
[trunk] Remove bool.h, use opj_bool instead
Fix remaining opj_calloc/malloc/free issues
Diffstat (limited to 'src/bin/jpip/opj_jpip_transcode.c')
-rw-r--r--src/bin/jpip/opj_jpip_transcode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/jpip/opj_jpip_transcode.c b/src/bin/jpip/opj_jpip_transcode.c
index 55ec2182..825c087a 100644
--- a/src/bin/jpip/opj_jpip_transcode.c
+++ b/src/bin/jpip/opj_jpip_transcode.c
@@ -53,7 +53,7 @@ static int jpip_to_jp2(int argc,char *argv[])
return -1;
}
- dec = init_jpipdecoder( true);
+ dec = init_jpipdecoder( OPJ_TRUE);
if(!( fread_jpip( argv[1], dec)))
return -1;
@@ -63,7 +63,7 @@ static int jpip_to_jp2(int argc,char *argv[])
if(!(fwrite_jp2k( argv[2], dec)))
return -1;
- output_log( true, false, true, dec);
+ output_log( OPJ_TRUE, OPJ_FALSE, OPJ_TRUE, dec);
destroy_jpipdecoder( &dec);
@@ -92,7 +92,7 @@ static int jpip_to_j2k(int argc,char *argv[])
return -1;
}
- dec = init_jpipdecoder( false);
+ dec = init_jpipdecoder( OPJ_FALSE);
if(!( fread_jpip( argv[1], dec)))
return -1;
@@ -102,7 +102,7 @@ static int jpip_to_j2k(int argc,char *argv[])
if(!( fwrite_jp2k( argv[2], dec)))
return -1;
- /* output_log( true, false, false, dec); */
+ /* output_log( OPJ_TRUE, OPJ_FALSE, OPJ_FALSE, dec); */
destroy_jpipdecoder( &dec);