[vlc-commits] demux: adaptative: fix iterator bound

Francois Cartegnie git at videolan.org
Wed Jun 10 18:58:03 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 28 14:17:27 2015 +0200| [15420e98d5b31936c58cb445c1b5f861d80fbf10] | committer: Francois Cartegnie

demux: adaptative: fix iterator bound

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

 modules/demux/adaptative/playlist/BaseRepresentation.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/adaptative/playlist/BaseRepresentation.cpp b/modules/demux/adaptative/playlist/BaseRepresentation.cpp
index cdc9f03..36ae73d 100644
--- a/modules/demux/adaptative/playlist/BaseRepresentation.cpp
+++ b/modules/demux/adaptative/playlist/BaseRepresentation.cpp
@@ -61,7 +61,7 @@ void BaseRepresentation::debug(vlc_object_t *obj, int indent) const
     msg_Dbg(obj, "%s", text.c_str());
     std::vector<ISegment *> list = getSegments();
     std::vector<ISegment *>::const_iterator l;
-    for(l = list.begin(); l < list.end(); ++l)
+    for(l = list.begin(); l != list.end(); ++l)
         (*l)->debug(obj, indent + 1);
 }
 



More information about the vlc-commits mailing list