aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/gif.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2011-01-10 21:14:54 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2011-01-10 21:14:54 +0000
commitc56e71309ec1a585ed4d4dc11ae0ba3ca7d19618 (patch)
tree40efb9b7a6d5ea4258b7b65bcfa4bfaece459c3d /libavcodec/gif.c
parente19e051e56ef3d2801bf16683e1628778801b1d6 (diff)
downloadffmpeg-c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618.tar.gz
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
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r--libavcodec/gif.c2
1 files changed, 1 insertions, 1 deletions
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 */