changeset 3754:6f219b6839ba libavcodec

segfault fix thanks to takis for finding the cause of this
author michael
date Sun, 24 Sep 2006 10:38:14 +0000
parents 82ceab4ada49
children 882cf925ff7a
files eval.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Sat Sep 23 08:50:50 2006 +0000
+++ b/eval.c	Sun Sep 24 10:38:14 2006 +0000
@@ -87,6 +87,7 @@
     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++; // "("