Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libImaging/BcnDecode.c
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ decode_bc7_block(rgba *col, const UINT8 *src) {
int mode = src[0];
int i, j;
int numep, cb, ab, ib, ib2, i0, i1, s;
int8_t bit = 0;
uint8_t bit = 0;
UINT8 index_sel, partition, rotation, val;
const char *cw, *aw;
const bc7_mode_info *info;
Expand Down
6 changes: 6 additions & 0 deletions winbuild/build_prepare.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,12 @@ def get_python_architecture() -> str:
"url": f"https://github.com/AOMediaCodec/libavif/archive/v{V['libavif']}.tar.gz",
"filename": f"libavif-{V['libavif']}.tar.gz",
"license": "LICENSE",
"patch": {
r"cmake\Modules\LocalDav1d.cmake": {
# dav1d 1.5.5 fixes building with MSVC 19.52 and later
'set(AVIF_DAV1D_TAG "1.5.3")': 'set(AVIF_DAV1D_TAG "1.5.5")',
},
},
Comment on lines +437 to +442

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update our SBOM to mention this patch?


For reference, here's a PR to bump libavif to dav1d 1.5.5:

AOMediaCodec/libavif#3460

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've created #10571. I don't think it's a cherry-pick, because we didn't include everything from the commit in that PR. I've also described in the notes that this patch is only for Windows.

"build": [
"rustup update",
f"{sys.executable} -m pip install meson",
Expand Down
Loading