From 0b9b3163f2a9be54b986f1e7e7d55a88d1e2f2a8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 31 May 2016 00:05:53 +0200 Subject: [PATCH] avcodec/libxvid: Fix use of uninitialized AVPacket fields Fixes CID1361964 Signed-off-by: Michael Niedermayer --- libavcodec/libxvid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index b362921a7f..32d5e48c76 100644 --- a/libavcodec/libxvid.c +++ b/libavcodec/libxvid.c @@ -713,7 +713,7 @@ FF_ENABLE_DEPRECATION_WARNINGS /* Encode a dummy frame to get the extradata immediately */ if (x->quicktime_format) { AVFrame *picture; - AVPacket packet; + AVPacket packet = {0}; int size, got_packet, ret; av_init_packet(&packet);