Commit 1c8c41ff authored by Martin Storsjö's avatar Martin Storsjö

avformat: Avoid a warning about mixed declarations and code

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f545e006
...@@ -3967,8 +3967,8 @@ int avformat_query_codec(AVOutputFormat *ofmt, enum CodecID codec_id, int std_co ...@@ -3967,8 +3967,8 @@ int avformat_query_codec(AVOutputFormat *ofmt, enum CodecID codec_id, int std_co
int avformat_network_init(void) int avformat_network_init(void)
{ {
#if CONFIG_NETWORK #if CONFIG_NETWORK
ff_network_inited_globally = 1;
int ret; int ret;
ff_network_inited_globally = 1;
if ((ret = ff_network_init()) < 0) if ((ret = ff_network_init()) < 0)
return ret; return ret;
ff_tls_init(); ff_tls_init();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment