summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 18:44:51 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-04-11 18:44:51 +0000
commita3731cadfce39f133d788534139bcf6cec7c4d47 (patch)
tree77bbaaa27cf50a69cd4e33473003a4b43ae4cd6d /libavcodec
parent96561c12c5951a0bd3ee4611dd2630d748d8a20f (diff)
Avoid the use of the symbol ff_expr_s for referencing AVExpr.
This way we have to deal only with struct AVExpr and AVExpr, which is slightly less confusing as the association between the two symbols is obvious. Originally committed as revision 22839 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/eval.c4
-rw-r--r--libavcodec/eval.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 0f7c2cbd4a..182bbc59c9 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -115,7 +115,7 @@ static int strmatch(const char *s, const char *prefix){
return 1;
}
-struct ff_expr_s {
+struct AVExpr {
enum {
e_value, e_const, e_func0, e_func1, e_func2,
e_squish, e_gauss, e_ld,
@@ -130,7 +130,7 @@ struct ff_expr_s {
double (*func1)(void *, double);
double (*func2)(void *, double, double);
} a;
- AVExpr *param[2];
+ struct AVExpr *param[2];
};
static double eval_expr(Parser * p, AVExpr * e) {
diff --git a/libavcodec/eval.h b/libavcodec/eval.h
index 4b36483c41..16b9bb3913 100644
--- a/libavcodec/eval.h
+++ b/libavcodec/eval.h
@@ -28,7 +28,7 @@
#ifndef AVCODEC_EVAL_H
#define AVCODEC_EVAL_H
-typedef struct ff_expr_s AVExpr;
+typedef struct AVExpr AVExpr;
/**
* Parses and evaluates an expression.