[FFmpeg-devel] [PATCH 1/6] Avoid the use of the symbol ff_expr_s for referencing AVEvalExpr.

Michael Niedermayer michaelni
Sun Apr 11 02:15:24 CEST 2010


On Sun, Apr 11, 2010 at 01:05:31AM +0200, Stefano Sabatini wrote:
> On date Saturday 2010-04-10 13:50:28 +0200, Stefano Sabatini encoded:
> > ---
> >  libavcodec/eval.c |    4 ++--
> >  libavcodec/eval.h |    2 +-
> >  2 files changed, 3 insertions(+), 3 deletions(-)
> > 
> > diff --git a/libavcodec/eval.c b/libavcodec/eval.c
> > index 134c43f..2b1fe3c 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 AVEvalExpr {
> >      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;
> > -    AVEvalExpr * param[2];
> > +    struct AVEvalExpr *param[2];
> >  };
> >  
> >  static double eval_expr(Parser * p, AVEvalExpr * e) {
> > diff --git a/libavcodec/eval.h b/libavcodec/eval.h
> > index 5481b14..02dd117 100644
> > --- a/libavcodec/eval.h
> > +++ b/libavcodec/eval.h
> > @@ -47,7 +47,7 @@ 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 ff_expr_s AVEvalExpr;
> > +typedef struct AVEvalExpr AVEvalExpr;
> >  
> >  /**
> >   * Parses a expression.
> 
> Ping.

rejected

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100411/cc299e21/attachment.pgp>



More information about the ffmpeg-devel mailing list