[vlc-commits] demux: dash: fix unwanted array copy
Francois Cartegnie
git at videolan.org
Fri Jan 20 22:13:55 CET 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 20 21:39:09 2017 +0100| [6e162398b49ffb8bd5acc6d5399209170f97bb95] | committer: Francois Cartegnie
demux: dash: fix unwanted array copy
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6e162398b49ffb8bd5acc6d5399209170f97bb95
---
modules/demux/dash/mpd/IsoffMainParser.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/dash/mpd/IsoffMainParser.cpp b/modules/demux/dash/mpd/IsoffMainParser.cpp
index aa57816..7893f4c 100644
--- a/modules/demux/dash/mpd/IsoffMainParser.cpp
+++ b/modules/demux/dash/mpd/IsoffMainParser.cpp
@@ -89,7 +89,7 @@ MPD * IsoffMainParser::parse()
void IsoffMainParser::parseMPDAttributes (MPD *mpd, xml::Node *node)
{
- const std::map<std::string, std::string> attr = node->getAttributes();
+ const std::map<std::string, std::string> & attr = node->getAttributes();
std::map<std::string, std::string>::const_iterator it;
More information about the vlc-commits
mailing list