diff options
| -rw-r--r-- | src/ufodecode.c | 2 | ||||
| -rw-r--r-- | test/ipedec.c | 2 | 
2 files changed, 1 insertions, 3 deletions
| diff --git a/src/ufodecode.c b/src/ufodecode.c index e3344cd..7be41bc 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -407,14 +407,12 @@ static int ufo_decode_frame_channels_v5(ufo_decoder decoder,                  fprintf(stderr, "Error: row_number in header is %i instead of %i\n",                           header->row_number, row);                   return 1; -                /* abort(); */              }              if (header->pixel_number > 128) {                  fprintf(stderr, "Error: pixel_number in header is %i instead of %i\n",                           header->pixel_number, pix);                   return 1; -                /* abort(); */              }              index = header->row_number * IPECAMERA_WIDTH + header->pixel_number; diff --git a/test/ipedec.c b/test/ipedec.c index 43e4641..c777e50 100644 --- a/test/ipedec.c +++ b/test/ipedec.c @@ -124,7 +124,7 @@ int main(int argc, char const* argv[])          return 0;      } -    while ((getopt_ret = getopt_long(argc, (char *const *) argv, "r:c:h", long_options, &index)) != -1) { +    while ((getopt_ret = getopt_long(argc, (char *const *) argv, "r:ch", long_options, &index)) != -1) {          switch (getopt_ret) {              case 'r':                   rows = atoi(optarg); | 
