Skip to content

Commit efa2288

Browse files
committed
Updated libavif to 1.3.0
1 parent 3c71559 commit efa2288

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Tests/test_file_avif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_background_from_gif(self, tmp_path: Path) -> None:
233233
with Image.open(out_gif) as reread:
234234
reread_value = reread.convert("RGB").getpixel((1, 1))
235235
difference = sum([abs(original_value[i] - reread_value[i]) for i in range(3)])
236-
assert difference <= 3
236+
assert difference <= 6
237237

238238
def test_save_single_frame(self, tmp_path: Path) -> None:
239239
temp_file = tmp_path / "temp.avif"

depends/install_libavif.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -eo pipefail
33

4-
version=1.2.1
4+
version=1.3.0
55

66
./download-and-extract.sh libavif-$version https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$version.tar.gz
77

winbuild/build_prepare.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def cmd_msbuild(
116116
"HARFBUZZ": "11.1.0",
117117
"JPEGTURBO": "3.1.0",
118118
"LCMS2": "2.17",
119-
"LIBAVIF": "1.2.1",
119+
"LIBAVIF": "1.3.0",
120120
"LIBIMAGEQUANT": "4.3.4",
121121
"LIBPNG": "1.6.47",
122122
"LIBWEBP": "1.5.0",
@@ -399,7 +399,6 @@ def cmd_msbuild(
399399
"-DAVIF_CODEC_DAV1D=LOCAL",
400400
"-DAVIF_CODEC_RAV1E=LOCAL",
401401
"-DAVIF_CODEC_SVT=LOCAL",
402-
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
403402
),
404403
cmd_xcopy("include", "{inc_dir}"),
405404
],

0 commit comments

Comments
 (0)