[vlc-commits] demux: dash: fix invalid iterator to temp
Francois Cartegnie
git at videolan.org
Wed Jun 10 18:58:02 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 27 22:33:15 2015 +0200| [e8a7895ce69f9cd6f9adf4885ebaf423eced409d] | committer: Francois Cartegnie
demux: dash: fix invalid iterator to temp
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e8a7895ce69f9cd6f9adf4885ebaf423eced409d
---
modules/demux/dash/mpd/MPD.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/dash/mpd/MPD.cpp b/modules/demux/dash/mpd/MPD.cpp
index ab484ad..be2f8b0 100644
--- a/modules/demux/dash/mpd/MPD.cpp
+++ b/modules/demux/dash/mpd/MPD.cpp
@@ -71,6 +71,6 @@ void MPD::debug()
msg_Dbg(stream, "BaseUrl=%s", getUrlSegment().toString().c_str());
std::vector<BasePeriod *>::const_iterator i;
- for(i = getPeriods().begin(); i != getPeriods().end(); ++i)
+ for(i = periods.begin(); i != periods.end(); ++i)
(*i)->debug(VLC_OBJECT(stream));
}
More information about the vlc-commits
mailing list