summaryrefslogtreecommitdiff
path: root/src/reel_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-28 00:44:36 +0000
commitd88c2244d4f90d54164fcc856c3ba73809756381 (patch)
tree9e330e066c2318ed1b162df6946affc94ee06a81 /src/reel_asset.cc
parent04b4d9f08ee30eb4dc4e62cddc4b332c69d18ac0 (diff)
Various test fixes.
Diffstat (limited to 'src/reel_asset.cc')
-rw-r--r--src/reel_asset.cc2
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) {