mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 13:40:55 +00:00
swr-test: support "--help"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
63b1c08073
commit
787c395a30
@ -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…
Reference in New Issue
Block a user