X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fsound_asset.cc;h=74d412123803435de48e19d364ef5570f684cdb0;hb=refs%2Fheads%2F1.0-templates;hp=11fd4b2fae685ec081f0221fe6ea35c98abcd134;hpb=34f2b95c1638a2cfedf21de5a203d6c0b77abf11;p=libdcp.git diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 11fd4b2f..74d41212 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -201,7 +201,7 @@ SoundAsset::start_write (boost::filesystem::path file, Standard standard) shared_ptr SoundAsset::start_read () const { - return shared_ptr (new SoundAssetReader (this)); + return shared_ptr (new SoundAssetReader (this, key ())); } string