[FFmpeg-cvslog] lavf: Reset global flag on deinit

Vittorio Giovara git at videolan.org
Sat May 16 00:16:08 CEST 2015


ffmpeg | branch: release/2.6 | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Apr 22 14:59:56 2015 +0100| [536093824d9822873bc00027d2ff65ca9f734ee8] | committer: Michael Niedermayer

lavf: Reset global flag on deinit

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit 32da94fa7f73ac749e0a1e2f20499fad2f6f57fe)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=536093824d9822873bc00027d2ff65ca9f734ee8
---

 libavformat/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 35a3522..41f72ff 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -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;
 }



More information about the ffmpeg-cvslog mailing list