diff options
Diffstat (limited to 'lib/ffmpeg/libavcodec/gif.c')
-rw-r--r-- | lib/ffmpeg/libavcodec/gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ffmpeg/libavcodec/gif.c b/lib/ffmpeg/libavcodec/gif.c index 5114b89226..218b80babb 100644 --- a/lib/ffmpeg/libavcodec/gif.c +++ b/lib/ffmpeg/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 */ @@ -166,7 +166,7 @@ static int gif_encode_close(AVCodecContext *avctx) return 0; } -AVCodec gif_encoder = { +AVCodec ff_gif_encoder = { "gif", AVMEDIA_TYPE_VIDEO, CODEC_ID_GIF, |