diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c index 82f78bc4ab..af34ed7d47 100644 --- a/libavcodec/eatgv.c +++ b/libavcodec/eatgv.c @@ -63,7 +63,7 @@ static av_cold int tgv_decode_init(AVCodecContext *avctx){ */ static int unpack(const uint8_t *src, const uint8_t *src_end, unsigned char *dst, int width, int height) { unsigned char *dst_end = dst + width*height; - int size,size1,size2,offset,run; + int size, size1, size2, av_uninit(offset), run; unsigned char *dst_start = dst; if (src[0] & 0x01)