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-04-25 15:06:55 +0200
commitee3d4e2b098121baa7a5795b9f977cb0e7f3facd (patch)
tree3a407b76e06b3766dcdea08866a8322695db380a
parent9a9379ff7fc32e8e259d8c090cd8ccf08b27b09d (diff)
downloadffmpeg-ee3d4e2b098121baa7a5795b9f977cb0e7f3facd.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 0b20b0901f..d93f43452e 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4066,6 +4066,7 @@ int avformat_network_deinit(void)
#if CONFIG_NETWORK
ff_network_close();
ff_tls_deinit();
+ ff_network_inited_globally = 0;
#endif
return 0;
}