Improve parse_primary() error message.

Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Stefano Sabatini 17 years ago committed by Benoit Fouet
parent 475f4d8d4b
commit cad2af9760
  1. 2
      libavcodec/eval.c

@ -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;

Loading…
Cancel
Save