vlc | branch: master | Francois Cartegnie <[email protected]> | 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;
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to