OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148c31b
)
Make ffmpeg print in the error message the exact line of a preset file
author
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Fri, 21 Nov 2008 22:51:17 +0000
(22:51 +0000)
committer
Stefano Sabatini
<stefano.sabatini-lala@poste.it>
Fri, 21 Nov 2008 22:51:17 +0000
(22:51 +0000)
containing an invalid syntax.
Originally committed as revision 15902 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
2056efa
..
9178e63
100644
(file)
--- a/
ffmpeg.c
+++ b/
ffmpeg.c
@@
-3704,7
+3704,7
@@
static int opt_preset(const char *opt, const char *arg)
continue;
e|= sscanf(line, "%999[^=]=%999[^\n]\n", tmp, tmp2) - 2;
if(e){
- fprintf(stderr, "%s:
Preset file invalid\n", filenam
e);
+ fprintf(stderr, "%s:
Invalid syntax: '%s'\n", filename, lin
e);
av_exit(1);
}
if(!strcmp(tmp, "acodec")){