Skip to content

Commit

Permalink
bugfix: --roi can be 0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iizukanao committed Feb 12, 2017
1 parent f0beae7 commit 2d1dbcd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -5192,10 +5192,6 @@ int main(int argc, char **argv) {
log_fatal("error: invalid --roi: %f (must be in the range of 0.0-1.0)\n", values[i]);
return EXIT_FAILURE;
}
if (values[i] == 0.0f) {
log_fatal("error: invalid --roi: %f (must be > 0.0)\n", values[i]);
return EXIT_FAILURE;
}
str_ptr = end + 1;
}
if (*end != '\0') {
Expand Down

0 comments on commit 2d1dbcd

Please sign in to comment.