Improve parse_primary() error message.

Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2008-05-21 17:50:42 +00:00 committed by Benoit Fouet
parent 475f4d8d4b
commit cad2af9760

View File

@ -217,7 +217,7 @@ static AVEvalExpr * parse_primary(Parser *p) {
p->s= strchr(p->s, '(');
if(p->s==NULL){
*p->error = "missing (";
*p->error = "undefined constant or missing (";
p->s= next;
ff_eval_free(d);
return NULL;