diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-18 22:18:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-18 22:18:15 +0100 |
| commit | 734340b52d30cb2dde9aa9e81c77277b261b128e (patch) | |
| tree | 1671d2f9c409cf2c58570b3d068bb4f071355848 /src/lib/image_examiner.cc | |
| parent | 49a5dd1b69c4bb7ed27ba0e23b2161fe4521f775 (diff) | |
Fix build on Debian unstable which now has GraphicsMagick rather than ImageMagick.
Diffstat (limited to 'src/lib/image_examiner.cc')
| -rw-r--r-- | src/lib/image_examiner.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image_examiner.cc b/src/lib/image_examiner.cc index 4ff324f68..7058ea3b2 100644 --- a/src/lib/image_examiner.cc +++ b/src/lib/image_examiner.cc @@ -38,7 +38,9 @@ ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag , _image_content (content) , _video_length (0) { +#ifdef DCPOMATIC_IMAGE_MAGICK using namespace MagickCore; +#endif Magick::Image* image = new Magick::Image (content->path(0).string()); _video_size = libdcp::Size (image->columns(), image->rows()); delete image; |
