Fix usage of deprecated Exiv2 function
Exiv2::enableBMFF() is deprecated as of v0.28.3. Only the CMake flag EXIV2_ENABLE_BMFF is required to enable BMFF support.
This commit is contained in:
parent
29a344aef1
commit
2a91962c48
@ -579,7 +579,7 @@ void Exiv2Metadata::init()
|
||||
{
|
||||
cache_.reset(new ImageCache(IMAGE_CACHE_SIZE));
|
||||
Exiv2::XmpParser::initialize();
|
||||
#ifdef EXV_ENABLE_BMFF
|
||||
#if defined EXV_ENABLE_BMFF && !EXIV2_TEST_VERSION(0, 28, 3)
|
||||
Exiv2::enableBMFF(true);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user