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()))