Commit cad2af97 authored by Stefano Sabatini's avatar Stefano Sabatini Committed by Benoit Fouet

Improve parse_primary() error message.

Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 475f4d8d
...@@ -217,7 +217,7 @@ static AVEvalExpr * parse_primary(Parser *p) { ...@@ -217,7 +217,7 @@ static AVEvalExpr * parse_primary(Parser *p) {
p->s= strchr(p->s, '('); p->s= strchr(p->s, '(');
if(p->s==NULL){ if(p->s==NULL){
*p->error = "missing ("; *p->error = "undefined constant or missing (";
p->s= next; p->s= next;
ff_eval_free(d); ff_eval_free(d);
return NULL; return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment