[FFmpeg-devel] [PATCH] eval: Add taylor series evaluation support.

Clément Bœsch ubitux at gmail.com
Wed Feb 22 10:24:18 CET 2012


On Wed, Feb 22, 2012 at 10:16:25AM +0100, Nicolas George wrote:
> Le tridi 3 ventôse, an CCXX, Michael Niedermayer a écrit :
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  doc/eval.texi    |    7 +++++++
> >  libavutil/eval.c |   20 +++++++++++++++++++-
> >  2 files changed, 26 insertions(+), 1 deletions(-)
> > 
[...]
> > +        case e_taylor: {
> > +            double t = 1, d = 0, ld, v;
> > +            double x = eval_expr(p, e->param[1]);
> > +            int i;
> > +            for(i=0; i<1000; i++) {
> > +                double ld = d;
> 
> ld is defined twice.
> 

Should we consider to add "check_cflags -Wshadow" in the configure?

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120222/8ae27054/attachment.asc>


More information about the ffmpeg-devel mailing list