Replace read_stream with read_string.
authorCarl Hetherington <cth@carlh.net>
Fri, 22 Jul 2016 08:22:05 +0000 (09:22 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 22 Jul 2016 08:22:05 +0000 (09:22 +0100)
src/smpte_dcp_reader.cc

index 23dd3ce20012d3d36dc0773c395dfc96523bbd1a..d8cb875a7ce16f7dc232b15a390bf20d3a3a8d30 100644 (file)
@@ -46,9 +46,7 @@ SMPTEDCPReader::SMPTEDCPReader (boost::filesystem::path file, bool mxf)
 
                string s;
                reader.ReadTimedTextResource (s, 0, 0);
-               stringstream t;
-               t << s;
-               xml->read_stream (t);
+               xml->read_string (s);
 
                ASDCP::WriterInfo info;
                reader.FillWriterInfo (info);