From c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 10 Jan 2011 21:14:54 +0000 Subject: [PATCH] =?UTF-8?q?In=20gif=20encoder,=20fix=20uninitialized=20val?= =?UTF-8?q?ue,=20patch=20by=20Cl=C3=A9ment=20B=C5=93sch,=20ubitux=20at=20g?= =?UTF-8?q?mail=20dot=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 26303 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 5114b89226..a52f140b42 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -87,7 +87,7 @@ static int gif_image_write_image(AVCodecContext *avctx, const uint8_t *buf, int linesize) { GIFContext *s = avctx->priv_data; - int len, height; + int len = 0, height; const uint8_t *ptr; /* image block */