mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-01 01:33:41 +00:00
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’)
This commit is contained in:
parent
6cb1197929
commit
5a819c5e23
@ -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…
x
Reference in New Issue
Block a user