diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-01-10 21:14:54 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-01-10 21:14:54 +0000 |
commit | c56e71309ec1a585ed4d4dc11ae0ba3ca7d19618 (patch) | |
tree | 40efb9b7a6d5ea4258b7b65bcfa4bfaece459c3d /libavcodec/gif.c | |
parent | e19e051e56ef3d2801bf16683e1628778801b1d6 (diff) | |
download | ffmpeg-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.c | 2 |
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 */ |