vlc | branch: master | Francois Cartegnie <[email protected]> | 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)
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to