diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-14 21:47:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-14 21:47:00 +0100 |
| commit | 5973e38f9bb599c4712c9b886f8ca8f4a94c7cea (patch) | |
| tree | b68a2bb00efa664890c8a3b089df4d6d6f63d25b /src/openjpeg_image.cc | |
| parent | 07e94266c1225d99c462bc43a7f2704dcaf0413c (diff) | |
Re-add support for OpenJPEG version 1.5.x.
Diffstat (limited to 'src/openjpeg_image.cc')
| -rw-r--r-- | src/openjpeg_image.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openjpeg_image.cc b/src/openjpeg_image.cc index e25c592a..32d1da3f 100644 --- a/src/openjpeg_image.cc +++ b/src/openjpeg_image.cc @@ -42,6 +42,10 @@ using namespace dcp; +#ifdef LIBDCP_OPENJPEG1 +#define OPJ_CLRSPC_SRGB CLRSPC_SRGB +#endif + /** Construct an OpenJPEGImage, taking ownership of the opj_image_t */ OpenJPEGImage::OpenJPEGImage (opj_image_t* image) : _opj_image (image) |
