Merge.
[libdcp.git] / src / dcp.cc
index 2a4cc8b86c18387920b9336db0fbbbae63f154f8..7a521141565d9855e7fc0a814b8f262e3e6f2f60 100644 (file)
@@ -176,7 +176,7 @@ DCP::read (bool keep_going, ReadErrors* errors)
                                        throw DCPReadError ("Unknown MXF essence type");
                        }
                } else if (boost::filesystem::extension (path) == ".ttf") {
-                       other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (path)));
+                       other_assets.push_back (shared_ptr<FontAsset> (new FontAsset (i->first, path)));
                }
        }