diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-10 14:26:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-10 14:26:44 +0100 |
| commit | a97dffe585e8e185c57a3f1b025cffa6da9525d2 (patch) | |
| tree | ca367b6965afcda95a9c1ef86114c855ad3f0a88 /src/lib/writer.cc | |
| parent | 5c0a67869dbddb924c9f5ccb4126aa06d85b9b8b (diff) | |
Tidy up J2KImageProxy a bit.
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index a0a57e0bb..527fb3701 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -158,7 +158,7 @@ Writer::~Writer () } void -Writer::write (shared_ptr<const Data> encoded, int frame, Eyes eyes) +Writer::write (Data encoded, int frame, Eyes eyes) { boost::mutex::scoped_lock lock (_mutex); @@ -328,7 +328,7 @@ try { LOG_GENERAL (N_("Writer FULL-writes %1 (%2)"), qi.frame, qi.eyes); if (!qi.encoded) { - qi.encoded.reset (new Data (_film->j2c_path (qi.frame, qi.eyes, false))); + qi.encoded = Data (_film->j2c_path (qi.frame, qi.eyes, false)); } dcp::FrameInfo fin = _picture_asset_writer->write (qi.encoded->data().get (), qi.encoded->size()); |
