Mercurial > libavcodec.hg
changeset 4087:d4cdb9f6e888 libavcodec
possible bug of 'gte' being read as 'gt', same with 'lte'
author | ods15 |
---|---|
date | Fri, 27 Oct 2006 21:37:47 +0000 |
parents | 9076b11ea35f |
children | cf7c247037d5 |
files | eval.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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])){