diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2007-08-13 23:03:36 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-08-13 23:03:36 +0000 |
commit | 60a9966e4d96ca26ceabdaf99eacfb0872c4e931 (patch) | |
tree | 8f8337270ddeeb6f17b527ad9e1cbc8301f76b4a /ffmpeg.c | |
parent | 9c0edaaf1359b4eeb26870c74c3a00dfd026de67 (diff) | |
download | ffmpeg-60a9966e4d96ca26ceabdaf99eacfb0872c4e931.tar.gz |
Make cmdutils.c:parse_options accept as argument a function to parse
bare command line parameters.
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 10112 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -3806,11 +3806,6 @@ static void show_help(void) av_opt_show(sws_opts, NULL); } -void parse_arg_file(const char *filename) -{ - opt_output_file(filename); -} - int main(int argc, char **argv) { int i; @@ -3831,7 +3826,7 @@ int main(int argc, char **argv) } /* parse options */ - parse_options(argc, argv, options); + parse_options(argc, argv, options, opt_output_file); /* file converter / grab */ if (nb_output_files <= 0) { |