Provide more context for the error message issued when no preset file
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 18 Oct 2008 18:18:52 +0000 (18:18 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 18 Oct 2008 18:18:52 +0000 (18:18 +0000)
is found.

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

ffmpeg.c

index bad954b..d8a3d50 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3691,7 +3691,7 @@ static int opt_preset(const char *opt, const char *arg)
     }
 
     if(!f){
-        fprintf(stderr, "Preset file not found\n");
+        fprintf(stderr, "File for preset '%s' not found\n", arg);
         av_exit(1);
     }