# HG changeset patch # User ods15 # Date 1161985067 0 # Node ID d4cdb9f6e888a85144ebf161c6fd0fa15ab194f8 # Parent 9076b11ea35f118622faed4658b3729ef994d333 possible bug of 'gte' being read as 'gt', same with 'lte' diff -r 9076b11ea35f -r d4cdb9f6e888 eval.c --- a/eval.c Fri Oct 27 21:13:31 2006 +0000 +++ b/eval.c Fri Oct 27 21:37:47 2006 +0000 @@ -254,10 +254,10 @@ else if( strmatch(next, "max" ) ) d->type = e_max; else if( strmatch(next, "min" ) ) d->type = e_min; else if( strmatch(next, "eq" ) ) d->type = e_eq; + else if( strmatch(next, "gte" ) ) d->type = e_gte; else if( strmatch(next, "gt" ) ) d->type = e_gt; - else if( strmatch(next, "gte" ) ) d->type = e_gte; + else if( strmatch(next, "lte" ) ) { AVEvalExpr * tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gt; } else if( strmatch(next, "lt" ) ) { AVEvalExpr * tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gte; } - else if( strmatch(next, "lte" ) ) { AVEvalExpr * tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gt; } else { for(i=0; p->func1_name && p->func1_name[i]; i++){ if(strmatch(next, p->func1_name[i])){