diff options
author | Rafaël Carré <funman@videolan.org> | 2019-01-10 12:00:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-01-14 17:16:55 +0100 |
commit | 75ea329b78f40537864e2ca2833c087c20041181 (patch) | |
tree | 75dbef4e52562db4eac7760df42b05a34ac42aa8 /tests/api/api-h264-slice-test.c | |
parent | fc6e53b0b662c60560dff75cc93248f72d0faf8a (diff) | |
download | ffmpeg-75ea329b78f40537864e2ca2833c087c20041181.tar.gz |
api-h264-slice-test: fix arguments and help
This program only takes 2 arguments
Remove comment that was never right
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tests/api/api-h264-slice-test.c')
-rw-r--r-- | tests/api/api-h264-slice-test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/api/api-h264-slice-test.c b/tests/api/api-h264-slice-test.c index b893737bca..dee93b8349 100644 --- a/tests/api/api-h264-slice-test.c +++ b/tests/api/api-h264-slice-test.c @@ -22,8 +22,6 @@ #define MAX_SLICES 8 -// ./fate 2 ./crew_cif out.y4m - #include "config.h" #include <stdbool.h> @@ -121,8 +119,8 @@ int main(int argc, char **argv) int nals = 0, ret = 0; char *p; - if (argc < 4) { - fprintf(stderr, "Usage: %s <threads> <input file> <output file>\n", argv[0]); + if (argc < 3) { + fprintf(stderr, "Usage: %s <threads> <input file>\n", argv[0]); return -1; } |