summaryrefslogtreecommitdiffstats
path: root/src/ufodecode.c
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-30 16:30:19 +0200
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2012-05-30 16:30:19 +0200
commitbd3224828f527f05fa84eb0d5bfaa2529f64145b (patch)
tree20da4794be6728f1bad50b5f8aab0e2e2a499575 /src/ufodecode.c
parent519ec3e652952530f975482b56ead02b03c1e28a (diff)
downloadlibufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.gz
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.bz2
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.tar.xz
libufodecode-bd3224828f527f05fa84eb0d5bfaa2529f64145b.zip
clear-frame does not expect an argument
Fix problem that ipedec eats one filename after supplying "-c" or "--clear-frame".
Diffstat (limited to 'src/ufodecode.c')
-rw-r--r--src/ufodecode.c2
1 files changed, 0 insertions, 2 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;