diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-06-24 14:13:37 +0100 |
| commit | 2ae92dcc97765deb2845dd07a338858aeb375cb3 (patch) | |
| tree | 6f0f8dec0b81a0a7d56e8dbc3a87f0986dae6748 /tools | |
| parent | 13db82c73af330ffbc7a813cd38c5bef36d5b54c (diff) | |
No-op: whitespace.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/common.cc | 2 | ||||
| -rw-r--r-- | tools/dcpdiff.cc | 2 | ||||
| -rw-r--r-- | tools/dcpdumpsub.cc | 2 | ||||
| -rw-r--r-- | tools/dcpinfo.cc | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tools/common.cc b/tools/common.cc index 1c0c1df8..5730848c 100644 --- a/tools/common.cc +++ b/tools/common.cc @@ -31,7 +31,7 @@ dcp::filter_errors (dcp::DCP::ReadErrors& errors, bool ignore_missing_assets) DCP::ReadErrors::iterator tmp = i; ++tmp; - + if (ignore_missing_assets && dynamic_pointer_cast<MissingAssetError> (*i)) { errors.erase (i); } diff --git a/tools/dcpdiff.cc b/tools/dcpdiff.cc index aee8d2f9..a820463f 100644 --- a/tools/dcpdiff.cc +++ b/tools/dcpdiff.cc @@ -109,7 +109,7 @@ main (int argc, char* argv[]) bool keep_going = false; bool ignore_missing_assets = false; optional<string> key; - + int option_index = 0; while (1) { static struct option long_options[] = { diff --git a/tools/dcpdumpsub.cc b/tools/dcpdumpsub.cc index 06802320..8cc9c90e 100644 --- a/tools/dcpdumpsub.cc +++ b/tools/dcpdumpsub.cc @@ -41,7 +41,7 @@ int main (int argc, char* argv[]) { bool extract_fonts = true; - + int option_index = 0; while (1) { static struct option long_options[] = { diff --git a/tools/dcpinfo.cc b/tools/dcpinfo.cc index 32920be2..bd74387b 100644 --- a/tools/dcpinfo.cc +++ b/tools/dcpinfo.cc @@ -82,7 +82,7 @@ main_subtitle (shared_ptr<Reel> reel, bool list_subtitles) if (!reel->main_subtitle()) { return; } - + list<SubtitleString> subs = reel->main_subtitle()->subtitle_asset()->subtitles (); cout << " Subtitle: " << subs.size() << " subtitles"; shared_ptr<InteropSubtitleAsset> iop = dynamic_pointer_cast<InteropSubtitleAsset> (reel->main_subtitle()->subtitle_asset()); @@ -106,7 +106,7 @@ main (int argc, char* argv[]) bool subtitles = false; bool keep_going = false; bool ignore_missing_assets = false; - + int option_index = 0; while (1) { static struct option long_options[] = { @@ -165,7 +165,7 @@ main (int argc, char* argv[]) cerr << "Could not read DCP " << argv[optind] << "; " << e.what() << "\n"; exit (EXIT_FAILURE); } - + cout << "DCP: " << boost::filesystem::path(argv[optind]).filename().string() << "\n"; dcp::filter_errors (errors, ignore_missing_assets); @@ -177,7 +177,7 @@ main (int argc, char* argv[]) for (list<shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) { cout << " CPL: " << (*i)->annotation_text() << "\n"; - + list<shared_ptr<Reel> > reels = (*i)->reels (); int R = 1; |
