Merge branch 'main' into docs-tabs

This commit is contained in:
Andrew Murray 2022-12-03 08:45:33 +11:00
commit 28e21ff490
3 changed files with 6 additions and 8 deletions

View File

@ -141,7 +141,7 @@ jobs:
if: steps.build-cache.outputs.cache-hit != 'true' if: steps.build-cache.outputs.cache-hit != 'true'
run: "& winbuild\\build\\build_dep_fribidi.cmd" run: "& winbuild\\build\\build_dep_fribidi.cmd"
# trim ~150MB x 9 # trim ~150MB for each job
- name: Optimize build cache - name: Optimize build cache
if: steps.build-cache.outputs.cache-hit != 'true' if: steps.build-cache.outputs.cache-hit != 'true'
run: rmdir /S /Q winbuild\build\src run: rmdir /S /Q winbuild\build\src

View File

@ -178,12 +178,11 @@ _anim_encoder_new(PyObject *self, PyObject *args) {
return NULL; return NULL;
} }
PyObject * void
_anim_encoder_dealloc(PyObject *self) { _anim_encoder_dealloc(PyObject *self) {
WebPAnimEncoderObject *encp = (WebPAnimEncoderObject *)self; WebPAnimEncoderObject *encp = (WebPAnimEncoderObject *)self;
WebPPictureFree(&(encp->frame)); WebPPictureFree(&(encp->frame));
WebPAnimEncoderDelete(encp->enc); WebPAnimEncoderDelete(encp->enc);
Py_RETURN_NONE;
} }
PyObject * PyObject *
@ -400,12 +399,11 @@ _anim_decoder_new(PyObject *self, PyObject *args) {
return NULL; return NULL;
} }
PyObject * void
_anim_decoder_dealloc(PyObject *self) { _anim_decoder_dealloc(PyObject *self) {
WebPAnimDecoderObject *decp = (WebPAnimDecoderObject *)self; WebPAnimDecoderObject *decp = (WebPAnimDecoderObject *)self;
WebPDataClear(&(decp->data)); WebPDataClear(&(decp->data));
WebPAnimDecoderDelete(decp->dec); WebPAnimDecoderDelete(decp->dec);
Py_RETURN_NONE;
} }
PyObject * PyObject *

View File

@ -152,9 +152,9 @@ deps = {
"libs": [r"*.lib"], "libs": [r"*.lib"],
}, },
"xz": { "xz": {
"url": SF_PROJECTS + "/lzmautils/files/xz-5.2.8.tar.gz/download", "url": SF_PROJECTS + "/lzmautils/files/xz-5.2.9.tar.gz/download",
"filename": "xz-5.2.8.tar.gz", "filename": "xz-5.2.9.tar.gz",
"dir": "xz-5.2.8", "dir": "xz-5.2.9",
"license": "COPYING", "license": "COPYING",
"patch": { "patch": {
r"src\liblzma\api\lzma.h": { r"src\liblzma\api\lzma.h": {