提交 e2cc3311 编写于 作者: M Michael Niedermayer

NoMerge commit '4d58e4cb'

* commit '4d58e4cb':
  Rename ffserver to avserver.
  Rename ffprobe to avprobe.
  Rename ffplay to avplay.
Merged-by: NMichael Niedermayer <michaelni@gmx.at>
......@@ -2954,7 +2954,7 @@ static const OptionDef options[] = {
static void show_usage(void)
{
printf("Simple media player\n");
printf("usage: ffplay [options] input_file\n");
printf("usage: %s [options] input_file\n", program_name);
printf("\n");
}
......@@ -3019,7 +3019,7 @@ int main(int argc, char **argv)
if (!input_filename) {
show_usage();
fprintf(stderr, "An input file must be specified\n");
fprintf(stderr, "Use -h to get full help or, even better, run 'man ffplay'\n");
fprintf(stderr, "Use -h to get full help or, even better, run 'man %s'\n", program_name);
exit(1);
}
......
......@@ -330,7 +330,7 @@ static int probe_file(const char *filename)
static void show_usage(void)
{
printf("Simple multimedia streams analyzer\n");
printf("usage: ffprobe [OPTIONS] [INPUT_FILE]\n");
printf("usage: %s [OPTIONS] [INPUT_FILE]\n", program_name);
printf("\n");
}
......@@ -412,7 +412,7 @@ int main(int argc, char **argv)
if (!input_filename) {
show_usage();
fprintf(stderr, "You have to specify one input file.\n");
fprintf(stderr, "Use -h to get full help or, even better, run 'man ffprobe'.\n");
fprintf(stderr, "Use -h to get full help or, even better, run 'man %s'.\n", program_name);
exit(1);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册