Commit e6b12001 authored by Michael Niedermayer's avatar Michael Niedermayer

segfault fix

thanks to takis for finding the cause of this

Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 87656472
......@@ -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++; // "("
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment