diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:22:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-07-22 09:22:05 +0100 |
| commit | 5e325f63095debd23c0307616f1306c612a9403a (patch) | |
| tree | 720634f6ef34816d300538d59a5a0844661234a9 /src | |
| parent | 2ad9d06aee3b2fb7dfd80f74bc28d1f7786f899a (diff) | |
Replace read_stream with read_string.
Diffstat (limited to 'src')
| -rw-r--r-- | src/smpte_dcp_reader.cc | 4 |
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); |
