Fix copy and paste error in previous commit.
[libdcp.git] / src / reel_sound_asset.cc
index 49049e5f29dde4b5c38df3ba476c89982ca7b50b..165453ced012a15a95bb5dcfaa20e0f61c19a00d 100644 (file)
@@ -31,13 +31,15 @@ using boost::shared_ptr;
 using namespace dcp;
 
 ReelSoundAsset::ReelSoundAsset (shared_ptr<SoundAsset> asset, int64_t entry_point)
-       : ReelEncryptableAsset (asset, asset->key_id(), asset->edit_rate(), asset->intrinsic_duration(), entry_point)
+       : ReelAsset (asset, asset->edit_rate(), asset->intrinsic_duration(), entry_point)
+       , ReelMXF (asset->key_id())
 {
 
 }
 
 ReelSoundAsset::ReelSoundAsset (shared_ptr<const cxml::Node> node)
-       : ReelEncryptableAsset (node)
+       : ReelAsset (node)
+       , ReelMXF (node)
 {
        node->ignore_child ("Language");
        node->done ();