Commit 86be73c7 authored by James Almer's avatar James Almer

avformat/mpeg: zero initialize idx_pkt

Prevents use of uninitialized stack.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent d1e7e4fb
......@@ -884,7 +884,7 @@ static int vobsub_read_packet(AVFormatContext *s, AVPacket *pkt)
FFDemuxSubtitlesQueue *q;
AVIOContext *pb = vobsub->sub_ctx->pb;
int ret, psize, total_read = 0, i;
AVPacket idx_pkt;
AVPacket idx_pkt = { 0 };
int64_t min_ts = INT64_MAX;
int sid = 0;
......
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