summaryrefslogtreecommitdiff
path: root/libavutil/eval.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:46:27 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-30 13:47:45 +0200
commit0915b531bc62440914710d2989813563b0446c5e (patch)
tree18517eb6ab7c0a88bf0e1de93b24ba638a6a5a89 /libavutil/eval.c
parent742b9617698f189e5bd911a600e6547b21bf6699 (diff)
downloadffmpeg-0915b531bc62440914710d2989813563b0446c5e.tar.gz
Rename "AVClass class" as "AVClass component_class".
The aix header math.h defines "extern int class()" for C.
Diffstat (limited to 'libavutil/eval.c')
-rw-r--r--libavutil/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/eval.c b/libavutil/eval.c
index 3abc3e5a88..9b1458c89b 100644
--- a/libavutil/eval.c
+++ b/libavutil/eval.c
@@ -52,7 +52,7 @@ typedef struct Parser {
double *var;
} Parser;
-static const AVClass class = { "Eval", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(Parser,log_offset), offsetof(Parser,log_ctx) };
+static const AVClass eval_class = { "Eval", av_default_item_name, NULL, LIBAVUTIL_VERSION_INT, offsetof(Parser,log_offset), offsetof(Parser,log_ctx) };
static const int8_t si_prefixes['z' - 'E' + 1] = {
['y'-'E']= -24,
@@ -657,7 +657,7 @@ int av_expr_parse(AVExpr **expr, const char *s,
if (!av_isspace(*s++)) *wp++ = s[-1];
*wp++ = 0;
- p.class = &class;
+ p.class = &eval_class;
p.stack_index=100;
p.s= w;
p.const_names = const_names;