avifile != avif
Sorry, this was my mistake, I already adapted the PR and removed the wrong package.
Thank you @da-phil. I tried your changes, they seem to work well. I have merged the PR.
/Per