[FFmpeg-cvslog] swr-test: support "--help"

Michael Niedermayer git at videolan.org
Tue Jun 5 17:30:57 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun  5 17:12:50 2012 +0200| [787c395a30ecc87bd6dadf2ec1ccab8648653880] | committer: Michael Niedermayer

swr-test: support "--help"

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=787c395a30ecc87bd6dadf2ec1ccab8648653880
---

 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 7af55b8..8a88b39 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;



More information about the ffmpeg-cvslog mailing list