diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-05 17:12:50 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 00:55:26 +0200 |
commit | a53ca16ae95f30173d1ad6d085045de0f6db0672 (patch) | |
tree | 378d67ad5c4e9519d25ad295f2905ac51c20d87d /libswresample/swresample-test.c | |
parent | 92e5e6215668f463c209cf53254770e9651012cd (diff) | |
download | ffmpeg-a53ca16ae95f30173d1ad6d085045de0f6db0672.tar.gz |
swr-test: support "--help"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 787c395a30ecc87bd6dadf2ec1ccab8648653880)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample-test.c')
-rw-r--r-- | libswresample/swresample-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswresample/swresample-test.c b/libswresample/swresample-test.c index 7af55b8389..8a88b3945b 100644 --- a/libswresample/swresample-test.c +++ b/libswresample/swresample-test.c @@ -243,7 +243,7 @@ int main(int argc, char **argv){ struct SwrContext *backw_ctx= NULL; if (argc > 1) { - if (!strcmp(argv[1], "-h")) { + if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")) { av_log(NULL, AV_LOG_INFO, "Usage: swresample-test [<num_tests>[ <test>]] \n" "num_tests Default is %d\n", num_tests); return 0; |