mirror of https://github.com/mpv-player/mpv
demux_mkv: fix broken initializer
Who says that the first member is an array or whatever? It depends on whatever the matroska.py script generates.
This commit is contained in:
parent
66ec8ff67b
commit
b0d13fa023
|
@ -391,7 +391,7 @@ static int demux_mkv_read_info(demuxer_t *demuxer)
|
|||
mkv_d->tc_scale = 1000000;
|
||||
mkv_d->duration = 0;
|
||||
|
||||
struct ebml_info info = {{0}};
|
||||
struct ebml_info info = {0};
|
||||
struct ebml_parse_ctx parse_ctx = {demuxer->log};
|
||||
if (ebml_read_element(s, &parse_ctx, &info, &ebml_info_desc) < 0)
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue