diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-01-05 16:55:32 +0000 |
| commit | ca5f02dbf193fa5655c57cb25be96a3c9fd05157 (patch) | |
| tree | d5be6180bca64a0f4f8af9aaef2030080787fc24 /tools/dcpdumpsub.cc | |
| parent | e3b5521ac40125c3dfd9f254856cf58ea1584f79 (diff) | |
Put everything into dcp::dc and change DCP -> Package.
Diffstat (limited to 'tools/dcpdumpsub.cc')
| -rw-r--r-- | tools/dcpdumpsub.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/dcpdumpsub.cc b/tools/dcpdumpsub.cc index ca98551b..237b3656 100644 --- a/tools/dcpdumpsub.cc +++ b/tools/dcpdumpsub.cc @@ -71,14 +71,14 @@ main (int argc, char* argv[]) exit (EXIT_FAILURE); } - dcp::SMPTESubtitleAsset sub (argv[optind]); + dcp::dc::SMPTESubtitleAsset sub (argv[optind]); cout << sub.xml_as_string() << "\n"; if (extract_fonts) { - map<string, dcp::Data> fonts = sub.fonts_with_load_ids (); - for (map<string, dcp::Data>::const_iterator i = fonts.begin(); i != fonts.end(); ++i) { - FILE* f = dcp::fopen_boost (i->first + ".ttf", "wb"); + map<string, dcp::dc::Data> fonts = sub.fonts_with_load_ids (); + for (map<string, dcp::dc::Data>::const_iterator i = fonts.begin(); i != fonts.end(); ++i) { + FILE* f = dcp::dc::fopen_boost (i->first + ".ttf", "wb"); if (!f) { cerr << "Could not open font file " << i->first << ".ttf for writing"; exit (EXIT_FAILURE); |
