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

Vittorio Giovara git at videolan.org
Wed Jun 17 22:09:48 CEST 2015


ffmpeg | branch: release/2.2 | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Apr 22 14:59:56 2015 +0100| [cd5a832b0aabfe6cc21d3d6012f80cf57ca3e00b] | 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=cd5a832b0aabfe6cc21d3d6012f80cf57ca3e00b
---

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

diff --git a/libavformat/utils.c b/libavformat/utils.c
index 79bdb87..376b8e2 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;
 }



More information about the ffmpeg-cvslog mailing list