Browse Source

Improve parse_primary() error message.

Patch by Stefano Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Stefano Sabatini Benoit Fouet 17 years ago
parent
commit
cad2af9760
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/eval.c

+ 1
- 1
libavcodec/eval.c View File

@@ -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…
Cancel
Save