[vlc-commits] playlist: m3u: unbreak HLS

Zhao Zhili git at videolan.org
Fri Dec 15 16:54:56 CET 2017


vlc | branch: master | Zhao Zhili <quinkblack at foxmail.com> | Thu Dec 14 18:06:38 2017 +0800| [40e3642d3e56a2e98741d7c2a81343859aa2af13] | committer: Francois Cartegnie

playlist: m3u: unbreak HLS

Fix #19269

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

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

 modules/demux/playlist/m3u.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index fa52fde951..5c3645c4f7 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -62,6 +62,7 @@ static bool IsHLS(const unsigned char *buf, size_t length)
         "#EXT-X-VERSION:",
         "#EXT-X-TARGETDURATION:",
         "#EXT-X-MEDIA-SEQUENCE:",
+        "#EXT-X-STREAM-INF:",
     };
 
     for (size_t i = 0; i < ARRAY_SIZE(hlsexts); i++)



More information about the vlc-commits mailing list