diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 13:27:12 +0300 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2007-02-25 13:27:12 +0300 |
commit | f66e4f5f9eac8eb022fad4f85d8d2e99b26c254f (patch) | |
tree | b733686c3306fa6a6a28e70c1d9507d095e22932 /libavcodec/eval.c | |
parent | 392cf77a4bfd2509fd59da9e5a702ab84476afc0 (diff) |
Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r-- | libavcodec/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c index 6ec7069914..877de35529 100644 --- a/libavcodec/eval.c +++ b/libavcodec/eval.c @@ -155,7 +155,7 @@ static double eval_expr(Parser * p, AVEvalExpr * e) { case e_func2: return e->value * e->a.func2(p->opaque, eval_expr(p, e->param[0]), eval_expr(p, e->param[1])); case e_squish: return 1/(1+exp(4*eval_expr(p, e->param[0]))); case e_gauss: { double d = eval_expr(p, e->param[0]); return exp(-d*d/2)/sqrt(2*M_PI); } - case e_ld: return e->value * p->var[clip(eval_expr(p, e->param[0]), 0, VARS-1)]; + case e_ld: return e->value * p->var[av_clip(eval_expr(p, e->param[0]), 0, VARS-1)]; case e_while: { double d = NAN; while(eval_expr(p, e->param[0])) @@ -177,7 +177,7 @@ static double eval_expr(Parser * p, AVEvalExpr * e) { case e_div: return e->value * (d / d2); case e_add: return e->value * (d + d2); case e_last:return e->value * d2; - case e_st : return e->value * (p->var[clip(d, 0, VARS-1)]= d2); + case e_st : return e->value * (p->var[av_clip(d, 0, VARS-1)]= d2); } } } |