mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 12:22:22 +00:00
demux_mkv: fix uninitialized variable
Commit de42015a97
("demux_mkv: read tags") added code that
failed to initialize a loop variable. Fix. No visible problems caused
by the bug have been reported.
This commit is contained in:
parent
f9b5f2870c
commit
1ca838918c
@ -867,7 +867,7 @@ static int demux_mkv_read_tags(demuxer_t *demuxer)
|
||||
tag.targets.target_chapter_uid || tag.targets.target_attachment_uid)
|
||||
continue;
|
||||
|
||||
for (int j; j < tag.n_simple_tag; j++)
|
||||
for (int j = 0; j < tag.n_simple_tag; j++)
|
||||
demux_info_add_bstr(demuxer, tag.simple_tag[j].tag_name, tag.simple_tag[j].tag_string);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user