segfault fix
thanks to takis for finding the cause of this Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
87656472f4
commit
e6b120018b
@ -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…
x
Reference in New Issue
Block a user