diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp index c3bf61fa3aeedd527ca1df0cfe07a42767cf6283..53024e34007a0147323db44edf8eb8d993273d0f 100644 --- a/modules/demux/hls/playlist/Parser.cpp +++ b/modules/demux/hls/playlist/Parser.cpp @@ -567,7 +567,7 @@ M3U8 * M3U8Parser::parse(vlc_object_t *p_object, stream_t *p_stream, const std:: playlist->addPeriod(period); auto xstart = std::find_if(tagslist.cbegin(), tagslist.cend(), - [](auto t) {return t->getType() == AttributesTag::EXTXSTART;}); + [](const Tag * t) {return t->getType() == AttributesTag::EXTXSTART;}); if(xstart != tagslist.end()) { auto xstartTag = static_cast<const AttributesTag *>(*xstart);