summaryrefslogtreecommitdiff
path: root/test/rewrite_subs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/rewrite_subs.cc')
-rw-r--r--test/rewrite_subs.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rewrite_subs.cc b/test/rewrite_subs.cc
index 6aa259a9..4cfc0c62 100644
--- a/test/rewrite_subs.cc
+++ b/test/rewrite_subs.cc
@@ -41,16 +41,16 @@ main (int argc, char* argv[])
cerr << "Syntax: " << argv[0] << " <dcp>\n";
exit (EXIT_FAILURE);
}
-
+
DCP* dcp = new DCP (argv[1]);
dcp->read (true);
-
+
list<shared_ptr<CPL> > cpls = dcp->cpls ();
for (list<boost::shared_ptr<CPL> >::iterator i = cpls.begin(); i != cpls.end(); ++i) {
-
+
list<shared_ptr<Reel> > reels = (*i)->reels ();
for (list<shared_ptr<Reel> >::iterator j = reels.begin(); j != reels.end(); ++j) {
-
+
if ((*j)->main_subtitle()) {
(*j)->main_subtitle()->subtitle_asset()->write ((*j)->main_subtitle()->subtitle_asset()->file ());
}
@@ -68,6 +68,6 @@ main (int argc, char* argv[])
cerr << e.what() << " when reading " << argv[1] << "\n";
exit (EXIT_FAILURE);
}
-
+
return 0;
}