OSDN Git Service

Improve messages printed when there is no input/output file, making
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 17 Nov 2008 23:18:44 +0000 (23:18 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Mon, 17 Nov 2008 23:18:44 +0000 (23:18 +0000)
them more grammatically correct and consistent with other equivalent
messages.

Originally committed as revision 15869 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 9308cc4..d3a4ec2 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3880,12 +3880,12 @@ int main(int argc, char **argv)
 
     /* file converter / grab */
     if (nb_output_files <= 0) {
-        fprintf(stderr, "Must supply at least one output file\n");
+        fprintf(stderr, "At least one output file must be specified\n");
         av_exit(1);
     }
 
     if (nb_input_files == 0) {
-        fprintf(stderr, "Must supply at least one input file\n");
+        fprintf(stderr, "At least one input file must be specified\n");
         av_exit(1);
     }