Commit 787c395a authored by Michael Niedermayer's avatar Michael Niedermayer

swr-test: support "--help"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 63b1c080
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment