mirror of
https://github.com/mpv-player/mpv
synced 2025-04-19 21:56:40 +00:00
demux_mkv: fix warning
Now that matroska.pl generates struct fields in deterministic order, this should be the last time I change this. (gcc and clang shouldn't warn about this line of code, but since they do, we want to workaround and silence the warning anyway.)
This commit is contained in:
parent
6dd97ccf5c
commit
7b52ba87a3
@ -359,7 +359,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 = {0};
|
struct ebml_parse_ctx parse_ctx = {0};
|
||||||
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user