[vlc-commits] demux: hls: fix probing fallback on missing Content-Type

Francois Cartegnie git at videolan.org
Wed Jun 19 17:38:12 CEST 2019


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun 18 14:17:47 2019 +0200| [05372c05bbb82c3feadd8f4afa5726b8182e310e] | committer: Francois Cartegnie

demux: hls: fix probing fallback on missing Content-Type

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

 modules/demux/adaptive/plumbing/Demuxer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptive/plumbing/Demuxer.cpp b/modules/demux/adaptive/plumbing/Demuxer.cpp
index 346d79f79a..e9cb0fc9a8 100644
--- a/modules/demux/adaptive/plumbing/Demuxer.cpp
+++ b/modules/demux/adaptive/plumbing/Demuxer.cpp
@@ -100,7 +100,7 @@ bool MimeDemuxer::create()
     if(!p_newstream)
         return false;
 
-    StreamFormat format;
+    StreamFormat format(StreamFormat::UNKNOWN);
     char *type = stream_ContentType(p_newstream);
     if(type)
     {



More information about the vlc-commits mailing list