mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-11 03:32:39 +00:00
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, '(');
|
p->s= strchr(p->s, '(');
|
||||||
if(p->s==NULL){
|
if(p->s==NULL){
|
||||||
av_log(NULL, AV_LOG_ERROR, "Parser: missing ( in \"%s\"\n", next);
|
av_log(NULL, AV_LOG_ERROR, "Parser: missing ( in \"%s\"\n", next);
|
||||||
|
p->s= next;
|
||||||
return NAN;
|
return NAN;
|
||||||
}
|
}
|
||||||
p->s++; // "("
|
p->s++; // "("
|
||||||
|
Loading…
Reference in New Issue
Block a user