A couple of things seem to be optional in real life.
[libdcp.git] / src / asset_map.cc
index 9276170c9279ce932ad05f465d1ff309c7f302ee..b77c4ac190b012e85b648471d54508d8a1f9b067 100644 (file)
@@ -27,7 +27,7 @@ Chunk::Chunk (xmlpp::Node const * node)
 {
        path = string_node ("Path");
        volume_index = int64_node ("VolumeIndex");
-       offset = int64_node ("Offset");
-       length = int64_node ("Length");
+       offset = optional_int64_node ("Offset");
+       length = optional_int64_node ("Length");
 }