From: Carl Hetherington Date: Thu, 18 Jun 2015 18:51:47 +0000 (+0100) Subject: Missing binary specifier. X-Git-Tag: v2.1.5~5 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=1c4ab94645350d264a8cee1c131c9df1b1ffb958;p=dcpomatic.git Missing binary specifier. --- diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index b2f962323..cea5dfea7 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -47,7 +47,7 @@ ImageExaminer::ImageExaminer (shared_ptr film, shared_ptrpath(0).string (); if (valid_j2k_file (path)) { boost::uintmax_t size = boost::filesystem::file_size (path); - FILE* f = fopen_boost (path, "r"); + FILE* f = fopen_boost (path, "rb"); if (!f) { throw FileError ("Could not open file for reading", path); }