summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-28 12:26:31 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-04 21:12:45 +0000
commit6c4db88d264a29033bf4724e5aba9b939e044b4b (patch)
tree378ca444931b37943d1fc7d2cbbeb338e604d912 /src/util.h
parent689d56339857b0a82156641f28392b8d2f11beea (diff)
Port to openjpeg version 2.1.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 8802c81d..d75ba795 100644
--- a/src/util.h
+++ b/src/util.h
@@ -56,7 +56,7 @@ extern ContentKind content_kind_from_string (std::string kind);
extern bool empty_or_white_space (std::string s);
extern boost::shared_ptr<OpenJPEGImage> decompress_j2k (uint8_t* data, int64_t size, int reduce);
extern boost::shared_ptr<OpenJPEGImage> decompress_j2k (Data data, int reduce);
-extern Data compress_j2k (boost::shared_ptr<OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk);
+extern Data compress_j2k (boost::shared_ptr<const OpenJPEGImage>, int bandwith, int frames_per_second, bool threed, bool fourk);
extern bool ids_equal (std::string a, std::string b);
extern void init ();