mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
e19e051e56
commit
c56e71309e
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue