diff options
author | sfan5 <sfan5@live.de> | 2023-07-24 21:11:48 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-07-26 11:26:36 +0200 |
commit | ee25d0d2e0666bef00b05a5713f5852c7deb84c9 (patch) | |
tree | c6653f30ef22ccb86495da8ef126658ec358a096 /common | |
parent | 3bc75d02e0a5a1f7ed237823bebe5e162111b88f (diff) | |
download | mpv-ee25d0d2e0666bef00b05a5713f5852c7deb84c9.tar.bz2 mpv-ee25d0d2e0666bef00b05a5713f5852c7deb84c9.tar.xz |
zimg: fix abort on subsampled input with odd heights
We make the assumption that there is more buffer available
than indicated, this needs to be considered in this specific
location too as mp_image_crop understandably checks whether
we're about to do something unsafe.
minimal reproducer: mpv av://lavfi:testsrc -vf crop=320:239,format=yuv420p -o test.png
fixes #10469
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions