projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hide the upmixers unless an "advanced" configuration option is ticked.
[dcpomatic.git]
/
src
/
lib
/
image_examiner.cc
diff --git
a/src/lib/image_examiner.cc
b/src/lib/image_examiner.cc
index 26beeb36399c3efd2b61c662ece72154838a67a5..775a69eebac4779b69226f7a8f408f9ad19d43c2 100644
(file)
--- a/
src/lib/image_examiner.cc
+++ b/
src/lib/image_examiner.cc
@@
-53,7
+53,7
@@
ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
throw FileError ("Could not open file for reading", path);
}
uint8_t* buffer = new uint8_t[size];
-
fread (buffer, 1, size, f
);
+
checked_fread (buffer, size, f, path
);
fclose (f);
try {
_video_size = dcp::decompress_j2k (buffer, size, 0)->size ();