diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-07-07 02:01:07 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-07-14 20:45:26 +0200 |
commit | 5a819c5e23b46bb03a9862790452ff829ea1e898 (patch) | |
tree | 94797b0a1c9b190e23ef1936e32c14fc7e321ccf | |
parent | 6cb11979295ae5d3b9bad0965cbd6a06d9c9783b (diff) | |
download | ffmpeg-5a819c5e23b46bb03a9862790452ff829ea1e898.tar.gz |
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’)
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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())) |