projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08fc50d
)
Use r+b not ab for fopen_boost so that we get the behaviour we wanted.
author
Carl Hetherington
<cth@carlh.net>
Thu, 20 Aug 2015 16:52:52 +0000
(17:52 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 20 Aug 2015 16:52:52 +0000
(17:52 +0100)
src/lib/writer.cc
patch
|
blob
|
history
diff --git
a/src/lib/writer.cc
b/src/lib/writer.cc
index 91263fe25f40c230cf30345a0762f1a2002984b3..19030430036d439a3f772efc9af690118027d5ae 100644
(file)
--- a/
src/lib/writer.cc
+++ b/
src/lib/writer.cc
@@
-294,7
+294,7
@@
Writer::have_sequenced_image_at_queue_head ()
void
Writer::write_frame_info (int frame, Eyes eyes, dcp::FrameInfo info) const
{
- FILE* file = fopen_boost (_film->info_file(), "
a
b");
+ FILE* file = fopen_boost (_film->info_file(), "
r+
b");
if (!file) {
throw OpenFileError (_film->info_file ());
}
@@
-784,7
+784,6
@@
Writer::frame_info_position (int frame, Eyes eyes) const
DCPOMATIC_ASSERT (false);
}
-
DCPOMATIC_ASSERT (false);
}