Here is an update to libavif 0.9.2. ## [0.9.2] - 2021-06-23
### Added * avifenc, avifdec: Allow "-j all" to automatically use all of the cores on the machine (#670) ### Changed * Refactor imir implementation to match HEIF Draft Amendment 2 (#665) * Merge avifCodec's open call with its getNextImage call to avoid codec init during parse, and simplify the codec API (#637) * Update aom.cmd: v3.1.1 (#674) * Update svt-av1: v0.8.7 (#627) * Make tests/compare.h and tests/testcase.h C++ safe (#678) * Print width and height as %ux%u instead of %u/%u (#676) * Allocate codec->internal->svt_config statically (#675) * Cleanup related to avifDiagnosticsClearError() (#673) * Cleanup avifutil.h comment to match libavif style (#671) * Fix the clang -Wunused-macros warning (#672) * Check for int32_t overflows in 'clap' code (#663) * Have avifdec print chroma sample position for 420 (#666) * Enable CMake configs in VCPKG mode (#659) * Avoid multiplying widthN and heightN by 2 (#662) * Correct AVIF_PIXEL_FORMAT_NONE handling logic (#654) * Cast extent->offset (a uint64_t) to size_t safely (#660) * Disallow negative clap width or height (#656) * Check for int32_t cast and unsigned add overflows (#655) * Some straightforward changes to clapFraction code (#653) * Fix box name of avifParseChunkOffsetBox (#652) * No need to pass diag to functions that have 'data' (#651) * Simplify the assertion in avifROStreamStart() (#650) * Don't clear error in avifEncoderSetCodecSpecificOp (#648) * Simplify avifCodecConfigurationBoxGetFormat (#646) * Print the fraction in "not an integer" messages (#641) * Fix a typo in the diagnostic context for 'ipco' (#644) * Remove const from non-pointer function parameters (#634) * Declare the param of avifDumpDiagnostics as const (#633) * Adjust gdk-pixbuf loader for new API change (#668) * Fix gdk-pixbuf loader install path (#615) * Don't need to disable MSVC warnings 5031 and 5032 (#681) Index: Makefile =================================================================== RCS file: /home/cvs/ports/graphics/libavif/Makefile,v retrieving revision 1.15 diff -u -p -u -p -r1.15 Makefile --- Makefile 28 Mar 2021 10:34:33 -0000 1.15 +++ Makefile 27 Jun 2021 04:09:44 -0000 @@ -4,10 +4,10 @@ COMMENT= library for encoding and decodi GH_ACCOUNT= AOMediaCodec GH_PROJECT= libavif -GH_TAGNAME= v0.9.0 +GH_TAGNAME= v0.9.2 CATEGORIES= graphics -SHARED_LIBS= avif 4.0 +SHARED_LIBS= avif 4.1 HOMEPAGE= https://github.com/AOMediaCodec/libavif Index: distinfo =================================================================== RCS file: /home/cvs/ports/graphics/libavif/distinfo,v retrieving revision 1.11 diff -u -p -u -p -r1.11 distinfo --- distinfo 28 Mar 2021 10:34:33 -0000 1.11 +++ distinfo 27 Jun 2021 04:09:55 -0000 @@ -1,2 +1,2 @@ -SHA256 (libavif-0.9.0.tar.gz) = 6hYD/Bjn3SDPAfC0BRVldohuy134TbjA6HGHzS+KAPQ= -SIZE (libavif-0.9.0.tar.gz) = 2961252 +SHA256 (libavif-0.9.2.tar.gz) = 1mB9ZUrcQKOS2oPapypP+ALNdQwEWmgTHJMFY5wQ/Fw= +SIZE (libavif-0.9.2.tar.gz) = 1987058 Index: pkg/PLIST =================================================================== RCS file: /home/cvs/ports/graphics/libavif/pkg/PLIST,v retrieving revision 1.3 diff -u -p -u -p -r1.3 PLIST --- pkg/PLIST 23 Apr 2020 06:42:08 -0000 1.3 +++ pkg/PLIST 3 Jun 2021 01:01:40 -0000 @@ -3,7 +3,6 @@ @bin bin/avifenc include/avif/ include/avif/avif.h -lib/cmake/ lib/cmake/libavif/ lib/cmake/libavif/libavif-config${MODCMAKE_BUILD_SUFFIX} lib/cmake/libavif/libavif-config-version.cmake