projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c97666f
)
test_tile_encoder: fix checks on argc
author
Even Rouault
<even.rouault@spatialys.com>
Mon, 21 Aug 2017 21:06:53 +0000
(23:06 +0200)
committer
Even Rouault
<even.rouault@spatialys.com>
Mon, 21 Aug 2017 21:06:53 +0000
(23:06 +0200)
tests/test_tile_encoder.c
patch
|
blob
|
history
diff --git
a/tests/test_tile_encoder.c
b/tests/test_tile_encoder.c
index 028d38ebf675dbc469e8ba632e66221b5c80d2a4..621396217862509e6c4ab54cf7cee7f5930a0d40 100644
(file)
--- a/
tests/test_tile_encoder.c
+++ b/
tests/test_tile_encoder.c
@@
-128,12
+128,12
@@
int main(int argc, char *argv[])
comp_prec = atoi(argv[6]);
irreversible = atoi(argv[7]);
output_file = argv[8];
- if (argc >= 1
2
) {
+ if (argc >= 1
1
) {
quality_loss = 0;
cblockw_init = atoi(argv[9]);
cblockh_init = atoi(argv[10]);
}
- if (argc >= 1
3
) {
+ if (argc >= 1
2
) {
numresolution = atoi(argv[11]);
}
if (argc >= 14) {