summaryrefslogtreecommitdiff
path: root/tests/unit/testempty1.c
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-11-15 13:38:35 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-11-15 13:38:35 +0000
commite212154d8d43ec583cb6dc8f963b97988a54c11d (patch)
tree074b1b8b459ce72933177247b3d9a891fa00e5c2 /tests/unit/testempty1.c
parentec0fe091380c2de75584fdfc3d914eee5b89e731 (diff)
[trunk]extend last commits to apps
Diffstat (limited to 'tests/unit/testempty1.c')
-rw-r--r--tests/unit/testempty1.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/testempty1.c b/tests/unit/testempty1.c
index 110b8c6b..add522a6 100644
--- a/tests/unit/testempty1.c
+++ b/tests/unit/testempty1.c
@@ -56,7 +56,7 @@ int main(int argc, char *argv[])
{
const char * v = opj_version();
- const OPJ_COLOR_SPACE color_space = CLRSPC_GRAY;
+ const OPJ_COLOR_SPACE color_space = OPJ_CLRSPC_GRAY;
int numcomps = 1;
int i;
int image_width = 256;
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
opj_image_cmptparm_t cmptparm;
opj_image_t *image;
opj_codec_t* l_codec = 00;
- opj_bool bSuccess;
+ OPJ_BOOL bSuccess;
FILE *f;
opj_stream_t *l_stream = 00;
(void)argc;
@@ -104,7 +104,7 @@ int main(int argc, char *argv[])
opj_set_warning_handler(l_codec, warning_callback,00);
opj_set_error_handler(l_codec, error_callback,00);
- l_codec = opj_create_compress(CODEC_J2K);
+ l_codec = opj_create_compress(OPJ_CODEC_J2K);
opj_set_info_handler(l_codec, info_callback,00);
opj_set_warning_handler(l_codec, warning_callback,00);
opj_set_error_handler(l_codec, error_callback,00);