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’)
pull/2/head
Diego Biurrun 14 years ago
parent 6cb1197929
commit 5a819c5e23
  1. 2
      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()))

Loading…
Cancel
Save