lavf: Reset global flag on deinit
authorVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 22 Apr 2015 13:59:56 +0000 (14:59 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 08:04:50 +0000 (10:04 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 32da94fa7f73ac749e0a1e2f20499fad2f6f57fe)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c

index 35a3522..41f72ff 100644 (file)
@@ -4124,6 +4124,7 @@ int avformat_network_deinit(void)
 #if CONFIG_NETWORK
     ff_network_close();
     ff_tls_deinit();
+    ff_network_inited_globally = 0;
 #endif
     return 0;
 }