aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMax Lazarov <mlazarov@gmail.com>2012-03-30 23:56:56 -0700
committerJanne Grunau <janne-libav@jannau.net>2012-07-14 13:33:25 +0200
commitcaac3ab6efde4fc9769e8a7472269356f262970a (patch)
treeb961960a125d19824567153bb8da398abe76d0ce /libavutil
parentf30260d32a92c7e12984dd6fb2238da35d6a4c03 (diff)
downloadffmpeg-caac3ab6efde4fc9769e8a7472269356f262970a.tar.gz
eval: fix swapping of lt() and lte()
CC: libav-stable@libav.org
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index f2d619f5c9..77af2a371c 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -279,8 +279,8 @@ static int parse_primary(AVExpr **e, Parser *p)
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, "lte" )) { AVExpr *tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gt; }
- else if (strmatch(next, "lt" )) { AVExpr *tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gte; }
+ else if (strmatch(next, "lte" )) { AVExpr *tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gte; }
+ else if (strmatch(next, "lt" )) { AVExpr *tmp = d->param[1]; d->param[1] = d->param[0]; d->param[0] = tmp; d->type = e_gt; }
else if (strmatch(next, "ld" )) d->type = e_ld;
else if (strmatch(next, "isnan" )) d->type = e_isnan;
else if (strmatch(next, "isinf" )) d->type = e_isinf;