summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-29 23:45:59 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-04 21:12:46 +0000
commitd4a2e054dee6ee80b578500e47f4eaf84731f140 (patch)
treebcbf36b8e6b64800e01dd3cd0b440e1cf1a52bf8 /src/interop_subtitle_asset.cc
parent660f1059c3b2c1ee08cd390cf6d5a0b5900a7edc (diff)
Take DCP-o-matic's version of Data class.
Diffstat (limited to 'src/interop_subtitle_asset.cc')
-rw-r--r--src/interop_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interop_subtitle_asset.cc b/src/interop_subtitle_asset.cc
index 8b88ce6b..4ba24a19 100644
--- a/src/interop_subtitle_asset.cc
+++ b/src/interop_subtitle_asset.cc
@@ -173,7 +173,7 @@ InteropSubtitleAsset::write (boost::filesystem::path p) const
++j;
}
if (j != _fonts.end ()) {
- fwrite (j->data.data.get(), 1, j->data.size, f);
+ fwrite (j->data.data().get(), 1, j->data.size(), f);
j->file = file;
}
fclose (f);