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

Stefano Sabatini stefano.sabatini-lala
Sun Jun 13 12:02:23 CEST 2010


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



More information about the ffmpeg-devel mailing list