X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_content.cc;h=1a17976657c42759a10566aaec00559de94e1ba9;hb=8c7a308c03e4b4196b4e2379a26d432b100ae2b1;hp=a573d43c407f8ac8a825190a1784600ba37ac873;hpb=9e4c091e6ef0f79fab10664e95240de2f14e5702;p=dcpomatic.git diff --git a/src/lib/sndfile_content.cc b/src/lib/sndfile_content.cc index a573d43c4..1a1797665 100644 --- a/src/lib/sndfile_content.cc +++ b/src/lib/sndfile_content.cc @@ -25,11 +25,11 @@ #include "compose.hpp" #include "job.h" #include "util.h" +#include "safe_stringstream.h" #include "i18n.h" using std::string; -using std::stringstream; using std::cout; using boost::shared_ptr; using dcp::raw_convert; @@ -79,7 +79,7 @@ SndfileContent::information () const return ""; } - stringstream s; + SafeStringStream s; s << String::compose ( _("%1 channels, %2kHz, %3 samples"),