Commit ce687bc1 authored by benoit's avatar benoit

Improve parse_primary() error message.

Patch by Stefano Sabatini and Michael Niedermayer


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13218 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 854148b8
...@@ -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