diff options
author | Ramiro Polla | 2010-02-24 06:14:59 +0000 |
---|---|---|
committer | Ramiro Polla | 2010-02-24 06:14:59 +0000 |
commit | c8c0ac6b2618e92e75b37fce874a5378535e5358 (patch) | |
tree | 3d1a3a5f7a652ecfa56839c4fbf3ba9433bb3ef2 /ffprobe.c | |
parent | 9127a369ad35159ac61a3f9bf0b0f30c06fa309f (diff) |
FFprobe: take only one input file.
Originally committed as revision 22014 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffprobe.c')
-rw-r--r-- | ffprobe.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |