CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

graphics/libavif 1.4.2

Library for encoding and decoding .avif files

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 1.4.2
Upstream
up to date
Last update
to 1.4.2 · b41e696646
Quarterly
2026Q4: 1.4.2
WWW
https://github.com/AOMediaCodec/libavif
Links
cgit · VuXML

Install

Package
# pkg install libavif
installs 1.4.2 from latest; from quarterly (2026Q4) 1.4.2
Port
# cd /usr/ports/graphics/libavif && make install clean
# make -C /usr/ports/graphics/libavif config  # change options first
Size
277 KiB download · 867 KiB installed
Depends on
devel/gettext-runtime 1.0_1, devel/glib20 2.88.3,2, graphics/gdk-pixbuf2 2.44.1, graphics/jpeg-turbo 3.1.4.1, graphics/libyuv 0.0.1973, graphics/png 1.6.59_1, graphics/webp 1.6.0, multimedia/aom 3.15.1, multimedia/dav1d 1.5.4
License
BSD2CLAUSE
Options
4 of 9 on in the package: AOM DAV1D LIBSHARPYUV PIXBUF
Show the 5 options that are off
GAV1 LIBXML2 MANPAGES RAV1E SVTAV1

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.4.21.4.2–
FreeBSD 151.4.21.4.2–
FreeBSD 141.4.21.4.21.4.2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.4.21.4.2–
FreeBSD 141.4.21.4.21.4.2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.4.2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (102)

Dimitry Andric (dim) · 0.9.3_3
graphics/libavif: fix build with clang 14

Clang >= 14 warns that mixing declarations and code is incompatible with
standards before C99, even if you compile with -std=c99 or -std=gnu99.

Add `-Wno-declaration-after-statement` if it is supported, to silence
the warning.

PR:		262634
Approved by:	jbeich (maintainer)
Obtained from:	https://github.com/AOMediaCodec/libavif/pull/886
MFH:		2022Q1
48c0caf106
Jan Beich (jbeich) · 0.9.3_3
multimedia/dav1d: update to 1.0.0

Changes:	https://code.videolan.org/videolan/dav1d/-/releases/1.0.0
Reported by:	Repology
3468f1957c
Jan Beich (jbeich) · 0.9.3_2
multimedia/svt-av1: update to 0.9.1

Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v0.9.1
Reported by:	Repology
d187ef9400
Jan Beich (jbeich) · 0.9.3_1
multimedia/svt-av1: update to 0.9.0

Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v0.9.0
Reported by:	Repology
b2302fb4a3
Jan Beich (jbeich) · 0.9.3
graphics/libavif: unbreak build with Clang 13

In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:30:
In file included from /usr/local/include/glib-2.0/glib/galloca.h:32:
/usr/local/include/glib-2.0/glib/gtypes.h:458:24: error: identifier '_GLIB_CHECKED_ADD_U32' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_ADD_U32 (guint32 *dest, guint32 a, guint32 b) {
                       ^
/usr/local/include/glib-2.0/glib/gtypes.h:460:24: error: identifier '_GLIB_CHECKED_MUL_U32' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_MUL_U32 (guint32 *dest, guint32 a, guint32 b) {
                       ^
/usr/local/include/glib-2.0/glib/gtypes.h:462:24: error: identifier '_GLIB_CHECKED_ADD_U64' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_ADD_U64 (guint64 *dest, guint64 a, guint64 b) {
                       ^
/usr/local/include/glib-2.0/glib/gtypes.h:463:3: warning: '_Static_assert' is a C11 extension [-Wc11-extensions]
  G_STATIC_ASSERT(sizeof (unsigned long long) == sizeof (guint64));
  ^
/usr/local/include/glib-2.0/glib/gmacros.h:819:31: note: expanded from macro 'G_STATIC_ASSERT'
 #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false")
                               ^
In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:30:
In file included from /usr/local/include/glib-2.0/glib/galloca.h:32:
/usr/local/include/glib-2.0/glib/gtypes.h:465:24: error: identifier '_GLIB_CHECKED_MUL_U64' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
static inline gboolean _GLIB_CHECKED_MUL_U64 (guint64 *dest, guint64 a, guint64 b) {
                       ^
/usr/local/include/glib-2.0/glib/gtypes.h:495:16: error: identifier '_GDoubleIEEE754' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef union  _GDoubleIEEE754  GDoubleIEEE754;
               ^
/usr/local/include/glib-2.0/glib/gtypes.h:496:16: error: identifier '_GFloatIEEE754' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef union  _GFloatIEEE754   GFloatIEEE754;
               ^
/usr/local/include/glib-2.0/glib/gtypes.h:545:16: error: identifier '_GTimeVal' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime);
               ^
In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:31:
/usr/local/include/glib-2.0/glib/garray.h:36:16: error: identifier '_GBytes' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GBytes          GBytes;
               ^
/usr/local/include/glib-2.0/glib/garray.h:37:16: error: identifier '_GArray' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GArray          GArray;
               ^
/usr/local/include/glib-2.0/glib/garray.h:38:16: error: identifier '_GByteArray' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GByteArray      GByteArray;
               ^
/usr/local/include/glib-2.0/glib/garray.h:39:16: error: identifier '_GPtrArray' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GPtrArray       GPtrArray;
               ^
In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:32:
In file included from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32:
In file included from /usr/local/include/glib-2.0/glib/gthread.h:33:
/usr/local/include/glib-2.0/glib/gerror.h:41:16: error: identifier '_GError' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GError GError;
               ^
In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:32:
In file included from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32:
In file included from /usr/local/include/glib-2.0/glib/gthread.h:34:
/usr/local/include/glib-2.0/glib/gutils.h:274:16: error: identifier '_GDebugKey' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GDebugKey GDebugKey;
               ^
In file included from /wrkdirs/usr/ports/graphics/libavif/work/libavif-0.9.2/contrib/gdk-pixbuf/loader.c:9:
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-io.h:35:
In file included from /usr/local/include/glib-2.0/glib.h:32:
In file included from /usr/local/include/glib-2.0/glib/gasyncqueue.h:32:
/usr/local/include/glib-2.0/glib/gthread.h:49:16: error: identifier '_GThread' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GThread         GThread;
               ^
/usr/local/include/glib-2.0/glib/gthread.h:51:16: error: identifier '_GMutex' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef union  _GMutex          GMutex;
               ^
/usr/local/include/glib-2.0/glib/gthread.h:52:16: error: identifier '_GRecMutex' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GRecMutex       GRecMutex;
               ^
/usr/local/include/glib-2.0/glib/gthread.h:53:16: error: identifier '_GRWLock' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GRWLock         GRWLock;
               ^
/usr/local/include/glib-2.0/glib/gthread.h:54:16: error: identifier '_GCond' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GCond           GCond;
               ^
/usr/local/include/glib-2.0/glib/gthread.h:55:16: error: identifier '_GPrivate' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]
typedef struct _GPrivate        GPrivate;
               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]

Reported by:	antoine (via bug 258209 exp-run)
1d042b7359
Mikael Urankar (mikael) · 0.9.3
graphics/libavif: Remove BROKEN after recent libyuv update.

PR:	259376
8aa40aa305
Jan Beich (jbeich) · 0.9.3
graphics/libavif: update to 0.9.3

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.2...v0.9.3
Reported by:	Repology
932dddab2b
Stefan Eßer (se) · 0.9.2_1
graphics/libavif: Add CPE information

Approved by:	portmgr (blanket)
a7304ac0ba
Jan Beich (jbeich) · 0.9.2_1
multimedia/aom: force rebuild consumers after 6f68add3f9ab

$ ffmpeg ... -c:v libaom-av1 ...
[libaom-av1 @ 0x804a89900] 3.2.0
[libaom-av1 @ 0x804a89900] Failed to initialize encoder: ABI version mismatch
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!

https://aomedia.googlesource.com/aom/+/bbdfa68d13a0%5E%21/
a950db788b
Jan Beich (jbeich) · 0.9.2
graphics/libavif: update to 0.9.2

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.1...v0.9.2
Reported by:	GitHub (watch releases)
91c45568b3
Jan Beich (jbeich) · 0.9.1
graphics/libavif: update to 0.9.1

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.9.0...v0.9.1
Reported by:	GitHub (watch releases)
efc8ec091e
Jan Beich (jbeich) · 0.9.0_2
graphics/libavif: unbreak fetch

fetch: https://github.com/AOMediaCodec/libavif/commit/2340cdb5f0c2.patch: size mismatch: expected 1712, actual 1714

-index 919f0bc..cb680c3 100644
+index 919f0bc1..cb680c33 100644
43938a3073
Jan Beich (jbeich) · 0.9.0_2
graphics/libavif: convert to USES=cmake:testing
1d796349d4
Jan Beich (jbeich) · 0.9.0_2
multimedia/svt-av1: update to 0.8.7

Changes:	https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v0.8.7
Reported by:	Repology
0c0a4f4b91
Mathieu Arnold (mat) · 0.9.0_1
One more small cleanup, forgotten yesterday. Reported by:	lwhsu
cf118ccf87
Mathieu Arnold (mat) · 0.9.0_1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Jan Beich (jbeich) · 0.9.0_1
multimedia/aom: update to 3.0.0

Changes:	https://aomedia.googlesource.com/aom/+log/v2.0.2..v3.0.0
Reported by:	portscout
6ca3a84401
Jan Beich (jbeich) · 0.9.0
graphics/libavif: update to 0.9.0

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.4...v0.9.0
Reported by:	GitHub (watch releases)
091225745c
Tobias C. Berner (tcberner) · 0.8.4_1
graphics/libyuv: update to 0.0.1767

- enable option in graphics/libavif

PR:		252822
Submitted by:	VVD <vvd@unislabs.com>
e084b3966d
Jan Beich (jbeich) · 0.8.4_1
multimedia/svt-av1: update to 0.8.6

Rebuild consumers after `EbSvtAv1EncConfiguration` grew in size with
`recode_loop` added in the middle of the struct.

Changes:	https://github.com/AOMediaCodec/SVT-AV1/releases/tag/v0.8.6
Reported by:	GitHub (watch releases)
a8dd55117e
Jan Beich (jbeich) · 0.8.4
graphics/libavif: update to 0.8.4

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.3...v0.8.4
Reported by:	GitHub (watch releases)
ae135353fb
Jan Beich (jbeich) · 0.8.3_1
multimedia/dav1d: update to 0.8.0

Changes:	https://code.videolan.org/videolan/dav1d/-/tags/0.8.0
Changes:	https://code.videolan.org/videolan/dav1d/-/blob/0.8.0/NEWS
Changes:	https://code.videolan.org/videolan/dav1d/compare/0.7.1...0.8.0
ff05bee7ea
Jan Beich (jbeich) · 0.8.3
graphics/libavif: update to 0.8.3

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.2...v0.8.3
Reported by:	GitHub (watch releases)
dbad31deeb
Jan Beich (jbeich) · 0.8.2
graphics/libavif: update to 0.8.2

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.1...v0.8.2
Reported by:	GitHub (watch releases)
d9fbee2905
Jan Beich (jbeich) · 0.8.1_1
graphics/libavif: connect tests to "make test"
13f31c2ec7
Jan Beich (jbeich) · 0.8.1_1
graphics/libavif: replace USES=localbase with upstream fix
0f23c65afe
Jan Beich (jbeich) · 0.8.1_1
multimedia/libgav1: add new port

libgav1 is a Main profile (0) & High profile (1) compliant AV1 decoder.

https://chromium.googlesource.com/codecs/libgav1
ef8a4135b0
Jan Beich (jbeich) · 0.8.1_1
graphics/libavif: switch Clang workaround to upstream
3e5efebb2d
Jan Beich (jbeich) · 0.8.1_1
graphics/libavif: drop mime workaround after r546053
ba951e978f
Jan Beich (jbeich) · 0.8.1_1
graphics/libavif: enable gdk-pixbuf2 loader

$ avifenc huge.jpg huge.avif
$ mcomix huge.avif
$ swaymsg output \* background $PWD/test.avif fill
87acb482b2
Jan Beich (jbeich) · 0.8.1
graphics/libavif: update to 0.8.1

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.8.0...v0.8.1
Reported by:	GitHub (watch releases)
416fe053ea
Jan Beich (jbeich) · 0.8.0
graphics/libavif: update to 0.8.0

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.7.3...v0.8.0
Reported by:	GitHub (watch releases)
eb89598f7a
Jan Beich (jbeich) · 0.7.3_2
multimedia/aom: update to 2.0.0.r1 (stable branch)

Changes:	https://aomedia.googlesource.com/aom/+log/bb664cf03..v2.0.0-rc1
Reported by:	Balance- on /r/AV1
c9097166d4
Jan Beich (jbeich) · 0.7.3_1
multimedia/aom: update to 1.0.0.3639

Changes:	https://aomedia.googlesource.com/aom/+log/26878968a..bb664cf03
11b29538f1
Jan Beich (jbeich) · 0.7.3
graphics/libavif: update to 0.7.3

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.7.2...v0.7.3
Reported by:	GitHub (watch releases)
9f28fa0e33
Jan Beich (jbeich) · 0.7.2_2
multimedia/aom: update to 1.0.0.3596

Changes:	https://aomedia.googlesource.com/aom/+log/5d6f2d42c..26878968a
e12417460d
Jan Beich (jbeich) · 0.7.2_1
multimedia/aom: update to 1.0.0.3547

Changes:	https://aomedia.googlesource.com/aom/+log/2f0cc17ec..5d6f2d42c
3f42c0615f
Jan Beich (jbeich) · 0.7.2
graphics/libavif: update to 0.7.2

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.7.1...v0.7.2
Reported by:	GitHub (watch releases)
29a99f0009
Jan Beich (jbeich) · 0.7.1
graphics/libavif: update to 0.7.1

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.6.4...v0.7.1
Reported by:	GitHub (watch releases)
9e3f770812
Jan Beich (jbeich) · 0.6.4
graphics/libavif: update to 0.6.4

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.6.3...v0.6.4
Reported by:	GitHub (watch releases)
e4d2268303
Piotr Kubaj (pkubaj) · 0.6.3
graphics/libavif: fix build on GCC architectures

Use newer GCC to avoid error caused by -Werror:
/wrkdirs/usr/ports/graphics/libavif/work/libavif-0.6.3/src/reformat.c:316: warning: comparison is always false due to limited range of data type

MFH:		2020Q2 (fix build blanket)
2562bee5d7
Jan Beich (jbeich) · 0.6.3
graphics/libavif: update to 0.6.3

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.6.2...v0.6.3
Reported by:	portscout
01ac44a4ee
Jan Beich (jbeich) · 0.6.2
graphics/libavif: update to 0.6.2

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.6.0...v0.6.2
Reported by:	portscout
96df047e1c
Jan Beich (jbeich) · 0.6.0
graphics/libavif: update to 0.6.0

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.5.7...v0.6.0
Reported by:	portscout
5f759bfbf3
Jan Beich (jbeich) · 0.5.7_1
multimedia/dav1d: update to 0.6.0

Changes:	https://code.videolan.org/videolan/dav1d/tags/0.6.0
Changes:	https://code.videolan.org/videolan/dav1d/blob/0.6.0/NEWS
Changes:	https://code.videolan.org/videolan/dav1d/compare/0.5.2...0.6.0
4aa2099cb2
Jan Beich (jbeich) · 0.5.7
graphics/libavif: update to 0.5.7

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.5.6...v0.5.7
Reported by:	portscout
9eb2cff8ec
Jan Beich (jbeich) · 0.5.6
graphics/libavif: update to 0.5.6

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.5.5...v0.5.6
Reported by:	portscout
f2c7c0fd1f
Jan Beich (jbeich) · 0.5.5
graphics/libavif: update to 0.5.5

Changes:	https://github.com/AOMediaCodec/libavif/compare/v0.5.4...v0.5.5
Reported by:	GitHub (watch releases)
45b91df8f6
Jan Beich (jbeich) · 0.5.4_2
multimedia/aom: update to 1.0.0.3002

Changes:	https://aomedia.googlesource.com/aom/+log/b14b3dbef..5e87049aa
b61e67ce31
Jan Beich (jbeich) · 0.5.4_1
multimedia/aom: update to 1.0.0.2985

Changes:	https://aomedia.googlesource.com/aom/+log/37d6a4b69..b14b3dbef
9537a993a5