mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-01 05:31:04 +08:00
avformat: Avoid a warning about mixed declarations and code
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user