[vlc-commits] demux: adaptive: use only c++11 lamba
    Francois Cartegnie 
    git at videolan.org
       
    Fri Jan  8 13:20:34 UTC 2021
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 13:40:32 2020 +0100| [197ac1d78eb9244ecc38af9b365a2b35f90fa11f] | committer: Francois Cartegnie
demux: adaptive: use only c++11 lamba
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=197ac1d78eb9244ecc38af9b365a2b35f90fa11f
---
 modules/demux/hls/playlist/Parser.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/hls/playlist/Parser.cpp b/modules/demux/hls/playlist/Parser.cpp
index c3bf61fa3a..53024e3400 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);
    
    
More information about the vlc-commits
mailing list