summaryrefslogtreecommitdiff
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
authorOded Shimon <ods15@ods15.dyndns.org>2006-10-27 21:37:47 +0000
committerOded Shimon <ods15@ods15.dyndns.org>2006-10-27 21:37:47 +0000
commitd024359a36993bdfc99f11ebba3b6a15bbaaaad4 (patch)
treeab2027421114ad9b292bcfc10c51046d65416e46 /libavcodec/eval.c
parent577eab6b62bdf5b67dd2ed21ef53c8d09abfa6b7 (diff)
possible bug of 'gte' being read as 'gt', same with 'lte'
Originally committed as revision 6811 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r--libavcodec/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 2d2be2b533..a0ed02bd83 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -254,10 +254,10 @@ static AVEvalExpr * parse_primary(Parser *p) {
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, "gt" ) ) d->type = e_gt;
else if( strmatch(next, "gte" ) ) d->type = e_gte;
- 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, "gt" ) ) d->type = e_gt;
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 {
for(i=0; p->func1_name && p->func1_name[i]; i++){
if(strmatch(next, p->func1_name[i])){