Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 11:41:34 +0300
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-12 01:14:14 +0300
commit107e54c5bf431bebfa79241d43b5fafb572b355a (patch)
tree395f26ebaec550b6b99ebc3f2a0e2015ba2500bc /libavutil/eval.c
parent9c29aa7143ba13ba71c70a1454ec35f2da10c3e0 (diff)
avutil: add ff_reverse as av_reverse replacement
The table is used in libavutil/eval.c. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r--libavutil/eval.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 1dfcbef7bb..7642b919cb 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -31,6 +31,7 @@
#include "avutil.h"
#include "common.h"
#include "eval.h"
+#include "internal.h"
#include "log.h"
#include "mathematics.h"
#include "time.h"
@@ -244,7 +245,7 @@ static double eval_expr(Parser *p, AVExpr *e)
double x_max = eval_expr(p, e->param[1]);
for(i=-1; i<1024; i++) {
if(i<255) {
- p->var[0] = av_reverse[i&255]*x_max/255;
+ p->var[0] = ff_reverse[i&255]*x_max/255;
} else {
p->var[0] = x_max*pow(0.9, i-255);
if (i&1) p->var[0] *= -1;