[FFmpeg-devel] [PATCH 2/6] Move AVEvalExpr declaration at the beginning of the file, where it is less distracting.

Stefano Sabatini stefano.sabatini-lala
Sat Apr 10 13:50:29 CEST 2010


---
 libavcodec/eval.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/eval.h b/libavcodec/eval.h
index 02dd117..dd290ba 100644
--- a/libavcodec/eval.h
+++ b/libavcodec/eval.h
@@ -28,6 +28,8 @@
 #ifndef AVCODEC_EVAL_H
 #define AVCODEC_EVAL_H
 
+typedef struct AVEvalExpr AVEvalExpr;
+
 /**
  * Parses and evaluates an expression.
  * Note, this is significantly slower than ff_parse_eval()
@@ -47,8 +49,6 @@ double ff_eval2(const char *s, const double *const_value, const char * const *co
                double (**func2)(void *, double, double), const char **func2_name,
                void *opaque, const char **error);
 
-typedef struct AVEvalExpr AVEvalExpr;
-
 /**
  * Parses a expression.
  * @param s expression as a zero terminated string for example "1+2^3+5*5+sin(2/3)"
-- 
1.7.0




More information about the ffmpeg-devel mailing list