Improve parse_primary() error message.
Patch by Stefano Sabatini and Michael Niedermayer Originally committed as revision 13218 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
				
					committed by
					
						
						Benoit Fouet
					
				
			
			
				
	
			
			
			
						parent
						
							475f4d8d4b
						
					
				
				
					commit
					cad2af9760
				
			@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user