[FFmpeg-cvslog] r22014 - trunk/ffprobe.c

ramiro subversion
Wed Feb 24 07:14:59 CET 2010


Author: ramiro
Date: Wed Feb 24 07:14:59 2010
New Revision: 22014

Log:
FFprobe: take only one input file.

Modified:
   trunk/ffprobe.c

Modified: trunk/ffprobe.c
==============================================================================
--- trunk/ffprobe.c	Wed Feb 24 02:57:31 2010	(r22013)
+++ trunk/ffprobe.c	Wed Feb 24 07:14:59 2010	(r22014)
@@ -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;



More information about the ffmpeg-cvslog mailing list