libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit 155ca2d52d421a44bc8d93b18eb5837837070777
parent 25e15416f849cbe7e0d004de5901208866b4f358
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 29 Aug 2012 12:20:06 +0000

check exiv2 version (see #2528)

Diffstat:
Msrc/plugins/exiv2_extractor.cc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/plugins/exiv2_extractor.cc b/src/plugins/exiv2_extractor.cc @@ -689,7 +689,9 @@ EXTRACTOR_exiv2_extract_method (struct EXTRACTOR_ExtractContext *ec) { try { +#if EXIV2_MAKE_VERSION(0,23,0) <= EXIV2_VERSION Exiv2::LogMsg::setLevel (Exiv2::LogMsg::mute); +#endif std::auto_ptr<Exiv2::BasicIo> eio(new ExtractorIO (ec)); Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open (eio); if (0 == image.get ())