Browse Source

segfault fix

thanks to takis for finding the cause of this

Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
e6b120018b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/eval.c

+ 1
- 0
libavcodec/eval.c View File

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