From 7b52ba87a3d1ca23df677f7a681839d821b21375 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 Nov 2013 02:50:15 +0100 Subject: 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.) --- demux/demux_mkv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/demux_mkv.c') diff --git a/demux/demux_mkv.c b/demux/demux_mkv.c index 2d49064ec0..4d5417ed79 100644 --- a/demux/demux_mkv.c +++ b/demux/demux_mkv.c @@ -359,7 +359,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 = {0}; if (ebml_read_element(s, &parse_ctx, &info, &ebml_info_desc) < 0) return -1; -- cgit v1.2.3