summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/smpte_dcp_reader.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/smpte_dcp_reader.cc b/src/smpte_dcp_reader.cc
index 23dd3ce..d8cb875 100644
--- a/src/smpte_dcp_reader.cc
+++ b/src/smpte_dcp_reader.cc
@@ -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);