---
Sorry for not noticing this one earlier...

 libavformat/utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index cb472c9..309fb97 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -3967,8 +3967,8 @@ int avformat_query_codec(AVOutputFormat *ofmt, enum 
CodecID codec_id, int std_co
 int avformat_network_init(void)
 {
 #if CONFIG_NETWORK
-    ff_network_inited_globally = 1;
     int ret;
+    ff_network_inited_globally = 1;
     if ((ret = ff_network_init()) < 0)
         return ret;
     ff_tls_init();
-- 
1.7.3.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to