minor bug fix in argc checking
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 3 Oct 2006 01:03:32 +0000 (01:03 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 3 Oct 2006 01:03:32 +0000 (01:03 +0000)
src/test_seeking/main.c

index 7f8f82456dad41c4c9e411266ffe23d895743bfe..e581b609871ebf332165e7f9b0fc0b5eac99def7 100644 (file)
@@ -427,7 +427,7 @@ int main(int argc, char *argv[])
 
        static const char * const usage = "usage: test_seeking file.flac [#seeks]\n";
 
-       if (argc < 1 || argc > 3) {
+       if (argc < 2 || argc > 3) {
                fprintf(stderr, usage);
                return 1;
        }