From: Diego Biurrun Date: Thu, 7 Jul 2011 00:01:07 +0000 (+0200) Subject: avformat_open_input(): Add braces to shut up gcc warning. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5a819c5e23b46bb03a9862790452ff829ea1e898;p=coroid%2Flibav_saccubus.git avformat_open_input(): Add braces to shut up gcc warning. libavformat/utils.c:599: warning: missing braces around initializer libavformat/utils.c:599: warning: (near initialization for ‘ap.time_base’) --- diff --git a/libavformat/utils.c b/libavformat/utils.c index cc0336a67..4b675e66c 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()))