aboutsummaryrefslogtreecommitdiffstats
path: root/libswresample/swresample-test.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-05 17:12:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-05 17:27:38 +0200
commit787c395a30ecc87bd6dadf2ec1ccab8648653880 (patch)
tree733ad9b13695b6373c8cc918ce58f4bb0fc0ea07 /libswresample/swresample-test.c
parent63b1c08073adefb93c9fe8e3a6fd9c1b99772b7e (diff)
downloadffmpeg-787c395a30ecc87bd6dadf2ec1ccab8648653880.tar.gz
swr-test: support "--help"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample-test.c')
-rw-r--r--libswresample/swresample-test.c2
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;