From ea119529c7ba3f042d227209c5669163916f6b4b Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 16 Mar 2012 19:13:46 +0100 Subject: snapshot: Allow the skip parameter to be 0 Signed-off-by: Laurent Pinchart --- snapshot.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/snapshot.c b/snapshot.c index 9763d6e..2b643cd 100644 --- a/snapshot.c +++ b/snapshot.c @@ -444,10 +444,6 @@ int main(int argc __attribute__((__unused__)), char *argv[] __attribute__((__unu break; case 'k': snap.skip = strtoul(optarg, NULL, 10); - if (snap.skip == 0) { - printf("snapshot skip value must be >0.\n"); - return 1; - } break; case 'N': snap.nframes = strtoul(optarg, NULL, 10); -- cgit v1.2.3