Fix crash on loading J2K files.
authorCarl Hetherington <cth@carlh.net>
Tue, 17 Feb 2015 23:37:23 +0000 (23:37 +0000)
committerCarl Hetherington <cth@carlh.net>
Tue, 17 Feb 2015 23:37:23 +0000 (23:37 +0000)
src/lib/image_content.cc

index 4073cd52c7facf71117f43b3d33a0c044359d01e..eb8b35210efd4a2a65cd4a4e02380438b3f05ba1 100644 (file)
@@ -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);
        }
 }