segfault fix

thanks to takis for finding the cause of this

Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 19 years ago
parent 87656472f4
commit e6b120018b
  1. 1
      libavcodec/eval.c

@ -87,6 +87,7 @@ static double evalPrimary(Parser *p){
p->s= strchr(p->s, '(');
if(p->s==NULL){
av_log(NULL, AV_LOG_ERROR, "Parser: missing ( in \"%s\"\n", next);
p->s= next;
return NAN;
}
p->s++; // "("

Loading…
Cancel
Save