From 5a819c5e23b46bb03a9862790452ff829ea1e898 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Thu, 7 Jul 2011 02:01:07 +0200 Subject: avformat_open_input(): Add braces to shut up gcc warning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libavformat/utils.c:599: warning: missing braces around initializer libavformat/utils.c:599: warning: (near initialization for ‘ap.time_base’) --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/utils.c b/libavformat/utils.c index cc0336a670..4b675e66c2 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -597,7 +597,7 @@ int avformat_open_input(AVFormatContext **ps, const char *filename, AVInputForma { AVFormatContext *s = *ps; int ret = 0; - AVFormatParameters ap = { 0 }; + AVFormatParameters ap = { { 0 } }; AVDictionary *tmp = NULL; if (!s && !(s = avformat_alloc_context())) -- cgit v1.2.3