Commit ebed8aca authored by ramiro's avatar ramiro

FFprobe: take only one input file.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22014 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 44a7cdbb
......@@ -290,6 +290,10 @@ static void opt_format(const char *arg)
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, "-"))
filename = "pipe:";
input_filename = filename;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment