In gif encoder, fix uninitialized value, patch by Clément Bœsch, ubitux at gmail dot com

Originally committed as revision 26303 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Clément Bœsch 2011-01-10 21:14:54 +00:00 committed by Baptiste Coudurier
parent e19e051e56
commit c56e71309e

View File

@ -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 */