mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2026-07-27 17:08:58 -04:00
avif: enable decoding of files with invalid EXIF metadata
When 1st parsing ends with invalid EXIF payload error, we try 2nd time again while ignoring the EXIF metadata. Dropped support for legacy 0.x libavif versions, libavif 1.0.0+ is now required for the AVIF support.
This commit is contained in:
@@ -53,10 +53,7 @@ set_package_properties(OpenEXR PROPERTIES
|
||||
PURPOSE "Required for the QImage plugin for OpenEXR images"
|
||||
)
|
||||
|
||||
find_package(libavif 0.8.2 CONFIG QUIET)
|
||||
if(NOT libavif_FOUND)
|
||||
find_package(libavif 1 CONFIG)
|
||||
endif()
|
||||
find_package(libavif 1 CONFIG)
|
||||
set_package_properties(libavif PROPERTIES
|
||||
TYPE OPTIONAL
|
||||
PURPOSE "Required for the QImage plugin for AVIF images"
|
||||
|
||||
Reference in New Issue
Block a user