Commit c56e7130 authored by Clément Bœsch's avatar Clément Bœsch Committed by Baptiste Coudurier

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
parent e19e051e
...@@ -87,7 +87,7 @@ static int gif_image_write_image(AVCodecContext *avctx, ...@@ -87,7 +87,7 @@ static int gif_image_write_image(AVCodecContext *avctx,
const uint8_t *buf, int linesize) const uint8_t *buf, int linesize)
{ {
GIFContext *s = avctx->priv_data; GIFContext *s = avctx->priv_data;
int len, height; int len = 0, height;
const uint8_t *ptr; const uint8_t *ptr;
/* image block */ /* image block */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment