From c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Mon, 10 Jan 2011 21:14:54 +0000 Subject: In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail dot com 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(-) (limited to 'libavcodec/gif.c') 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 */ -- cgit v1.2.3