[FFmpeg-devel] [PATCH] Improve eval.c:parse_primary() error message
Sat May 17 19:50:23 CEST 2008
On Sat, May 17, 2008 at 05:48:37PM +0200, Stefano Sabatini wrote:
> Hi, as in subject.
> BTW, I wonder, there is a particular reason for not using bison/some
> other equivalent tool for these kind of parsings (it could be useful
> also for the ffserver.conf file and for the filter graph)?
> (Maybe are you simply trying to avoid to depend on those other tools?)
> FFmpeg = Free and Frenzy MultiPurpose EnGine
> Index: libavcodec/eval.c
> --- libavcodec/eval.c (revision 13187)
> +++ libavcodec/eval.c (working copy)
> @@ -217,7 +217,7 @@
> p->s= strchr(p->s, '(');
> - *p->error = "missing (";
> + *p->error = "not a named constant and not a function since it is missing '('";
"undefined constant or missing ("
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel