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>
This commit is contained in:
parent
92e5e62156
commit
a53ca16ae9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user