Skip to content
Snippets Groups Projects
Commit c8c0ac6b authored by Ramiro Polla's avatar Ramiro Polla
Browse files

FFprobe: take only one input file.

Originally committed as revision 22014 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9127a369
No related branches found
No related tags found
No related merge requests found
...@@ -290,6 +290,10 @@ static void opt_format(const char *arg) ...@@ -290,6 +290,10 @@ static void opt_format(const char *arg)
static void opt_input_file(const char *filename) static void opt_input_file(const char *filename)
{ {
if (input_filename) {
fprintf(stderr, "Input filename already specified: %s\n", filename);
exit(1);
}
if (!strcmp(filename, "-")) if (!strcmp(filename, "-"))
filename = "pipe:"; filename = "pipe:";
input_filename = filename; input_filename = filename;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment