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

Michael Niedermayer michaelni
Sun Jun 13 09:13:25 CEST 2010


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

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

When the tyrant has disposed of foreign enemies by conquest or treaty, and
there is nothing more to fear from them, then he is always stirring up
some war or other, in order that the people may require a leader. -- Plato
-------------- 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/20100613/fe1c79da/attachment.pgp>



More information about the ffmpeg-devel mailing list