[FFmpeg-cvslog] r26303 - trunk/libavcodec/gif.c
bcoudurier
subversion
Mon Jan 10 22:14:54 CET 2011
Author: bcoudurier
Date: Mon Jan 10 22:14:54 2011
New Revision: 26303
Log:
In gif encoder, fix uninitialized value, patch by Cl?ment B?sch, ubitux at gmail dot com
Modified:
trunk/libavcodec/gif.c
Modified: trunk/libavcodec/gif.c
==============================================================================
--- trunk/libavcodec/gif.c Mon Jan 10 13:56:50 2011 (r26302)
+++ trunk/libavcodec/gif.c Mon Jan 10 22:14:54 2011 (r26303)
@@ -87,7 +87,7 @@ static int gif_image_write_image(AVCodec
const uint8_t *buf, int linesize)
{
GIFContext *s = avctx->priv_data;
- int len, height;
+ int len = 0, height;
const uint8_t *ptr;
/* image block */
More information about the ffmpeg-cvslog
mailing list