diff options
Diffstat (limited to 'src/blind-mean.c')
| -rw-r--r-- | src/blind-mean.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/blind-mean.c b/src/blind-mean.c index 8b7e97c..d7c0726 100644 --- a/src/blind-mean.c +++ b/src/blind-mean.c @@ -109,7 +109,6 @@ main(int argc, char *argv[]) enum method method = ARITHMETIC; int i, two = 0; - ARGBEGIN { case 'd': method = STANDARD_DEVIATION; @@ -171,8 +170,10 @@ main(int argc, char *argv[]) if (streams->encoding == DOUBLE) process = process_functions_lf[method]; - else + else if (streams->encoding == FLOAT) process = process_functions_f[method]; + else + eprintf("pixel format %s is not supported, try xyza\n", streams->pixfmt); tmp = streams->frames, streams->frames = frames; fprint_stream_head(stdout, streams); |
