[vlc-commits] avio: initialize avformat network support explicitely

Rafaël Carré git at videolan.org
Wed Feb 19 11:04:26 CET 2014


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 19 10:59:40 2014 +0100| [5b6a1820ff887015aee2506891b439943ea7d756] | committer: Rafaël Carré

avio: initialize avformat network support explicitely

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5b6a1820ff887015aee2506891b439943ea7d756
---

 modules/codec/avcodec/avcommon.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/codec/avcodec/avcommon.h b/modules/codec/avcodec/avcommon.h
index e03bc41..3d64f53 100644
--- a/modules/codec/avcodec/avcommon.h
+++ b/modules/codec/avcodec/avcommon.h
@@ -92,6 +92,8 @@ static inline void vlc_init_avformat(vlc_object_t *obj)
 {
     vlc_avcodec_lock();
 
+    avformat_network_init();
+
     vlc_init_avutil(obj);
 
 #if LIBAVUTIL_VERSION_CHECK(51, 25, 0, 42, 100)



More information about the vlc-commits mailing list