summaryrefslogtreecommitdiff
path: root/libavcodec/libxvid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r--libavcodec/libxvid.c2
1 files changed, 1 insertions, 1 deletions
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);