issue104_jpxstream.jp2 decompresses just fine (and like Kakadu). Update md5refs.txt...
[openjpeg.git] / tests / test_tile_encoder.c
index 028d38ebf675dbc469e8ba632e66221b5c80d2a4..621396217862509e6c4ab54cf7cee7f5930a0d40 100644 (file)
@@ -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 >= 12) {
+        if (argc >= 11) {
             quality_loss = 0;
             cblockw_init = atoi(argv[9]);
             cblockh_init = atoi(argv[10]);
         }
-        if (argc >= 13) {
+        if (argc >= 12) {
             numresolution = atoi(argv[11]);
         }
         if (argc >= 14) {