diff options
Diffstat (limited to 'src/reel_asset.cc')
| -rw-r--r-- | src/reel_asset.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reel_asset.cc b/src/reel_asset.cc index 5fa59fc2..b25aeb15 100644 --- a/src/reel_asset.cc +++ b/src/reel_asset.cc @@ -60,7 +60,7 @@ ReelAsset::ReelAsset (boost::shared_ptr<const cxml::Node> node) , _intrinsic_duration (node->number_child<int64_t> ("IntrinsicDuration")) , _entry_point (node->number_child<int64_t> ("EntryPoint")) , _duration (node->number_child<int64_t> ("Duration")) - , _hash (node->string_child ("Hash")) + , _hash (node->optional_string_child ("Hash").get_value_or ("")) , _key_id (node->optional_string_child ("KeyId").get_value_or ("")) { if (_id.length() > 9) { |
