]> git.sesse.net Git - ffmpeg/commitdiff
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 bad954bafbfdf85b9afa7262e28b77fbc3e9c658..d8a3d500eefc3d1befc5563886f987eaae6ad7b6 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);
     }