You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavf/matroskaenc: fix uninitialized read
This commit is contained in:
@@ -1547,7 +1547,7 @@ static int mkv_write_attachments(AVFormatContext *s)
|
||||
|
||||
mkv->attachments = av_mallocz(sizeof(*mkv->attachments));
|
||||
if (!mkv->attachments)
|
||||
return ret;
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
av_lfg_init(&c, av_get_random_seed());
|
||||
|
||||
|
Reference in New Issue
Block a user