[Ffmpeg-cvslog] r6325 - trunk/libavcodec/eval.c

michael subversion
Sun Sep 24 12:38:14 CEST 2006


Author: michael
Date: Sun Sep 24 12:38:14 2006
New Revision: 6325

Modified:
   trunk/libavcodec/eval.c

Log:
segfault fix
thanks to takis for finding the cause of this


Modified: trunk/libavcodec/eval.c
==============================================================================
--- trunk/libavcodec/eval.c	(original)
+++ trunk/libavcodec/eval.c	Sun Sep 24 12:38:14 2006
@@ -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++; // "("




More information about the ffmpeg-cvslog mailing list