From 32da94fa7f73ac749e0a1e2f20499fad2f6f57fe Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Wed, 22 Apr 2015 14:59:56 +0100 Subject: [PATCH] lavf: Reset global flag on deinit Signed-off-by: Michael Niedermayer --- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 2f6122d7d6..d1f1d09e45 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4136,6 +4136,7 @@ int avformat_network_deinit(void) #if CONFIG_NETWORK ff_network_close(); ff_tls_deinit(); + ff_network_inited_globally = 0; #endif return 0; }