From 787c395a30ecc87bd6dadf2ec1ccab8648653880 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 5 Jun 2012 17:12:50 +0200 Subject: [PATCH] swr-test: support "--help" Signed-off-by: Michael Niedermayer --- libswresample/swresample-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 [[ ]] \n" "num_tests Default is %d\n", num_tests); return 0;