aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2015-04-22 14:59:56 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-06-17 21:50:09 +0200
commitcd5a832b0aabfe6cc21d3d6012f80cf57ca3e00b (patch)
treee1efabc0a8615fdb25a68af68d024fc74ad62594
parent940b9484dcde8fe25ce1c85cfa698f0493aa9395 (diff)
downloadffmpeg-cd5a832b0aabfe6cc21d3d6012f80cf57ca3e00b.tar.gz
lavf: Reset global flag on deinit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 32da94fa7f73ac749e0a1e2f20499fad2f6f57fe) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 79bdb87109..376b8e239a 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4345,6 +4345,7 @@ int avformat_network_deinit(void)
#if CONFIG_NETWORK
ff_network_close();
ff_tls_deinit();
+ ff_network_inited_globally = 0;
#endif
return 0;
}