mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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:
parent
475f4d8d4b
commit
cad2af9760
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user