summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-02-17 23:37:23 +0000
committerCarl Hetherington <cth@carlh.net>2015-02-17 23:37:23 +0000
commitfc45861c622ed38f479265e63abc220444e54b61 (patch)
tree6d2e51ad9c03924cb6c385bfde18f34037a4f852 /src/lib
parent3f3d3e68dc9ed3a5a0de5fd296771a62118a28d9 (diff)
Fix crash on loading J2K files.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/image_content.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc
index 4073cd52c..eb8b35210 100644
--- a/src/lib/image_content.cc
+++ b/src/lib/image_content.cc
@@ -62,7 +62,7 @@ ImageContent::ImageContent (shared_ptr<const Film> f, boost::filesystem::path p)
if (have_j2k) {
/* We default to no colour conversion if we have JPEG2000 files */
- unset_colour_conversion ();
+ unset_colour_conversion (false);
}
}