From cad2af9760554fc33bac0cbc088910cda7580b64 Mon Sep 17 00:00:00 2001
From: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Date: Wed, 21 May 2008 17:50:42 +0000
Subject: [PATCH] Improve parse_primary() error message. Patch by Stefano
 Sabatini and Michael Niedermayer

Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/eval.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 25e81785064..3bb752fec2b 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -217,7 +217,7 @@ static AVEvalExpr * parse_primary(Parser *p) {
 
     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;
-- 
GitLab