diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-09-24 10:38:14 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-09-24 10:38:14 +0000 |
commit | e6b120018b7fa8fed751b6c5eb6f872b49f1eddc (patch) | |
tree | 96199bc3a2c5a7d2b4a08e7d3e8ee410d492a2df /libavcodec/eval.c | |
parent | 87656472f46bd2f9092f6c1eeaa05b6d6ebce97e (diff) | |
download | ffmpeg-e6b120018b7fa8fed751b6c5eb6f872b49f1eddc.tar.gz |
segfault fix
thanks to takis for finding the cause of this
Originally committed as revision 6325 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r-- | libavcodec/eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index 2aabb3bd6c..4ed178d635 100644 --- a/libavcodec/eval.c +++ b/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++; // "(" |