changeset 6840:7cb16b1c580f libavcodec

Improve parse_primary() error message. Patch by Stefano Sabatini and Michael Niedermayer
author benoit
date Wed, 21 May 2008 17:50:42 +0000
parents d17cae06e958
children 10975a82f615
files eval.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Wed May 21 16:53:20 2008 +0000
+++ b/eval.c	Wed May 21 17:50:42 2008 +0000
@@ -217,7 +217,7 @@
 
     p->s= strchr(p->s, '(');
     if(p->s==NULL){
-        *p->error = "missing (";
+        *p->error = "undefined constant or missing (";
         p->s= next;
         ff_eval_free(d);
         return NULL;