diff options
author | maxlazarov <mlazarov@gmail.com> | 2012-03-30 11:23:36 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-01 11:01:08 +0200 |
commit | 7a3df014b9ba134aff85cb2778daebd497d8c79a (patch) | |
tree | ff37df1c61b83fee279ad8163e84d61cab4d0183 /libavutil/eval.c | |
parent | 8df774be88c347c40f1b2411ed9e391dfec0ebb7 (diff) | |
download | ffmpeg-7a3df014b9ba134aff85cb2778daebd497d8c79a.tar.gz |
The lt and lte functions were swapped.
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r-- | libavutil/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c index 43c70f396f..ceae2edf6f 100644 --- a/libavutil/eval.c +++ b/libavutil/eval.c @@ -378,8 +378,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, "st" )) d->type = e_st; |