changeset 11601:29fda2500178 libavcodec

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.
author stefano
date Sun, 11 Apr 2010 18:44:51 +0000
parents 2b35577e49db
children da95280256b4
files eval.c eval.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/eval.c	Sun Apr 11 15:54:45 2010 +0000
+++ b/eval.c	Sun Apr 11 18:44:51 2010 +0000
@@ -115,7 +115,7 @@
     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 @@
         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) {
--- a/eval.h	Sun Apr 11 15:54:45 2010 +0000
+++ b/eval.h	Sun Apr 11 18:44:51 2010 +0000
@@ -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.