Commit 0b9b3163 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/libxvid: Fix use of uninitialized AVPacket fields

Fixes CID1361964
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 2c7fd0e3
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment