aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2007-08-13 23:03:36 +0000
committerDiego Biurrun <diego@biurrun.de>2007-08-13 23:03:36 +0000
commit60a9966e4d96ca26ceabdaf99eacfb0872c4e931 (patch)
tree8f8337270ddeeb6f17b527ad9e1cbc8301f76b4a /ffmpeg.c
parent9c0edaaf1359b4eeb26870c74c3a00dfd026de67 (diff)
downloadffmpeg-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.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 33c49fafd2..6c8751a8f7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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) {