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

Vittorio Giovara git at videolan.org
Thu May 21 21:25:45 CEST 2015


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

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

diff --git a/libavformat/utils.c b/libavformat/utils.c
index d1e0f71..496b656 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -4098,6 +4098,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