[FFmpeg-devel] [PATCH] Improve eval.c:parse_primary() error message

Stefano Sabatini stefano.sabatini-lala
Sun May 18 01:00:30 CEST 2008


On date Saturday 2008-05-17 19:50:23 +0200, Michael Niedermayer encoded:
> On Sat, May 17, 2008 at 05:48:37PM +0200, Stefano Sabatini wrote:
[...]
> > Index: libavcodec/eval.c
> > ===================================================================
> > --- libavcodec/eval.c	(revision 13187)
> > +++ libavcodec/eval.c	(working copy)
> > @@ -217,7 +217,7 @@
> >  
> >      p->s= strchr(p->s, '(');
> >      if(p->s==NULL){
> > -        *p->error = "missing (";
> > +        *p->error = "not a named constant and not a function since it is missing '('";
> 
> i think
> "undefined constant or missing ("
> is better

As you wish ;-).

Regards.
-- 
FFmpeg = Frenzy and Friendly MultiPurpose EniGma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: improve-eval-error-message-01.patch
Type: text/x-diff
Size: 401 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080518/0b4cb9c3/attachment.patch>



More information about the ffmpeg-devel mailing list