[FFmpeg-devel] [PATCH 2/6] Improve error reporting.

Michael Niedermayer michaelni
Mon Jun 14 03:24:35 CEST 2010


On Sun, Jun 13, 2010 at 12:02:23PM +0200, Stefano Sabatini wrote:
> On date Sunday 2010-06-13 09:13:25 +0200, Michael Niedermayer encoded:
> > On Sun, Jun 13, 2010 at 12:38:12AM +0200, Stefano Sabatini wrote:
> > > ---
> > >  libavutil/eval.c |   15 +++++++++------
> > >  1 files changed, 9 insertions(+), 6 deletions(-)
> > > 
> > > diff --git a/libavutil/eval.c b/libavutil/eval.c
> > > index cfe71e1..5506822 100644
> > > --- a/libavutil/eval.c
> > > +++ b/libavutil/eval.c
> > > @@ -182,7 +182,7 @@ void av_free_expr(AVExpr *e)
> > >  static int parse_primary(AVExpr **e, Parser *p)
> > >  {
> > >      AVExpr *d = av_mallocz(sizeof(AVExpr));
> > > -    char *next= p->s;
> > > +    char *s0, *s1, *next= p->s;
> > >      int ret, i;
> > 
> > s1 is never read
> 
> Fixed&Updated.
> -- 
> FFmpeg = Fancy Faithless Mortal Portable Extravagant Gnome

>  eval.c |   10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> feac11e895bf126f43c00201870e96fbc9c3d95a  0002-Improve-av_parse_eval-error-reporting.patch
> >From 9a1dbf2ff00428deef1bd9e2d37e9f59fe1dc934 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefano.sabatini-lala at poste.it>
> Date: Sat, 12 Jun 2010 19:38:55 +0200
> Subject: [PATCH 2/5] Improve av_parse_eval() error reporting.

should be ok if tested

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- 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/20100614/aea217e0/attachment.pgp>



More information about the ffmpeg-devel mailing list