1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 06:42:03 +00:00

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:
wm4 2017-06-23 19:47:10 +02:00
parent 66ec8ff67b
commit b0d13fa023

View File

@ -391,7 +391,7 @@ static int demux_mkv_read_info(demuxer_t *demuxer)
mkv_d->tc_scale = 1000000; mkv_d->tc_scale = 1000000;
mkv_d->duration = 0; mkv_d->duration = 0;
struct ebml_info info = {{0}}; struct ebml_info info = {0};
struct ebml_parse_ctx parse_ctx = {demuxer->log}; struct ebml_parse_ctx parse_ctx = {demuxer->log};
if (ebml_read_element(s, &parse_ctx, &info, &ebml_info_desc) < 0) if (ebml_read_element(s, &parse_ctx, &info, &ebml_info_desc) < 0)
return -1; return -1;