aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-08-29 12:20:06 +0000
committerChristian Grothoff <christian@grothoff.org>2012-08-29 12:20:06 +0000
commit155ca2d52d421a44bc8d93b18eb5837837070777 (patch)
treedd00d4720afc4a62d0375374578fe2c7ea917f0d
parent25e15416f849cbe7e0d004de5901208866b4f358 (diff)
downloadlibextractor-155ca2d52d421a44bc8d93b18eb5837837070777.tar.gz
libextractor-155ca2d52d421a44bc8d93b18eb5837837070777.zip
check exiv2 version (see #2528)
-rw-r--r--src/plugins/exiv2_extractor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/exiv2_extractor.cc b/src/plugins/exiv2_extractor.cc
index 6576d94..20997c6 100644
--- a/src/plugins/exiv2_extractor.cc
+++ b/src/plugins/exiv2_extractor.cc
@@ -689,7 +689,9 @@ EXTRACTOR_exiv2_extract_method (struct EXTRACTOR_ExtractContext *ec)
689{ 689{
690 try 690 try
691 { 691 {
692#if EXIV2_MAKE_VERSION(0,23,0) <= EXIV2_VERSION
692 Exiv2::LogMsg::setLevel (Exiv2::LogMsg::mute); 693 Exiv2::LogMsg::setLevel (Exiv2::LogMsg::mute);
694#endif
693 std::auto_ptr<Exiv2::BasicIo> eio(new ExtractorIO (ec)); 695 std::auto_ptr<Exiv2::BasicIo> eio(new ExtractorIO (ec));
694 Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open (eio); 696 Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open (eio);
695 if (0 == image.get ()) 697 if (0 == image.get ())