aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-07 02:01:07 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-14 20:45:26 +0200
commit5a819c5e23b46bb03a9862790452ff829ea1e898 (patch)
tree94797b0a1c9b190e23ef1936e32c14fc7e321ccf /libavformat/utils.c
parent6cb11979295ae5d3b9bad0965cbd6a06d9c9783b (diff)
downloadffmpeg-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’)
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c2
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()))