summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-17 23:15:29 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-11-17 23:15:29 +0000
commit7a7da6b42f267e3207f04710768425e74ad0effa (patch)
treec963af86d8df8db4e0249848bc5655c543db09f1 /ffmpeg.c
parent40b509b36bf98a9fa382675f47d96a4e89c1597b (diff)
Remove unnecessary calls to show_help(), make ffmpeg/ffplay print a
specific error message instead. Originally committed as revision 15868 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index c53b8e65ff..9308cc4025 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3874,10 +3874,6 @@ int main(int argc, char **argv)
sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);
show_banner();
- if (argc <= 1) {
- show_help();
- av_exit(1);
- }
/* parse options */
parse_options(argc, argv, options, opt_output_file);