diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-04-22 14:59:56 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-23 14:31:00 +0200 |
commit | bb95df33a0d41087d469bebaf8be04f03dc3b397 (patch) | |
tree | 6b27f3772e3c5e0b926ad7edf419e273879566b8 | |
parent | 3339bae2197a2a02b090e74a8720282b5b87598e (diff) | |
download | ffmpeg-bb95df33a0d41087d469bebaf8be04f03dc3b397.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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 3a979c63ee..7e4a6ffc14 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4055,6 +4055,7 @@ int avformat_network_deinit(void) #if CONFIG_NETWORK ff_network_close(); ff_tls_deinit(); + ff_network_inited_globally = 0; #endif return 0; } |