mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Rename parse_arg_file function to opt_input_file for consistency.
patch by Stefano Sabatini, stefano.sabatini-lala poste it Originally committed as revision 10116 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9fcfc0b763
commit
f5da5c935d
4
ffplay.c
4
ffplay.c
@ -2515,7 +2515,7 @@ void show_help(void)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void parse_arg_file(const char *filename)
|
void opt_input_file(const char *filename)
|
||||||
{
|
{
|
||||||
if (!strcmp(filename, "-"))
|
if (!strcmp(filename, "-"))
|
||||||
filename = "pipe:";
|
filename = "pipe:";
|
||||||
@ -2530,7 +2530,7 @@ int main(int argc, char **argv)
|
|||||||
/* register all codecs, demux and protocols */
|
/* register all codecs, demux and protocols */
|
||||||
av_register_all();
|
av_register_all();
|
||||||
|
|
||||||
parse_options(argc, argv, options, parse_arg_file);
|
parse_options(argc, argv, options, opt_input_file);
|
||||||
|
|
||||||
if (!input_filename) {
|
if (!input_filename) {
|
||||||
show_help();
|
show_help();
|
||||||
|
Loading…
Reference in New Issue
Block a user