projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb68e2a
)
Missing read() calls in dcpdiff.
author
Carl Hetherington
<cth@carlh.net>
Sun, 16 Sep 2012 19:03:58 +0000
(20:03 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 16 Sep 2012 19:03:58 +0000
(20:03 +0100)
tools/dcpdiff.cc
patch
|
blob
|
history
diff --git
a/tools/dcpdiff.cc
b/tools/dcpdiff.cc
index 0b6ffd92b5f92e52960741336103577237922f4f..6141b8ff2e45bd168005bf4c3d8433d3f762939c 100644
(file)
--- a/
tools/dcpdiff.cc
+++ b/
tools/dcpdiff.cc
@@
-79,6
+79,7
@@
main (int argc, char* argv[])
DCP* a = 0;
try {
a = new DCP (argv[optind]);
+ a->read ();
} catch (FileError& e) {
cerr << "Could not read DCP " << argv[optind] << "; " << e.what() << " " << e.filename() << "\n";
exit (EXIT_FAILURE);
@@
-87,6
+88,7
@@
main (int argc, char* argv[])
DCP* b = 0;
try {
b = new DCP (argv[optind + 1]);
+ b->read ();
} catch (FileError& e) {
cerr << "Could not read DCP " << argv[optind + 1] << "; " << e.what() << " " << e.filename() << "\n";
exit (EXIT_FAILURE);