summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2023-07-24 21:11:48 +0200
committersfan5 <sfan5@live.de>2023-07-26 11:26:36 +0200
commitee25d0d2e0666bef00b05a5713f5852c7deb84c9 (patch)
treec6653f30ef22ccb86495da8ef126658ec358a096 /common
parent3bc75d02e0a5a1f7ed237823bebe5e162111b88f (diff)
downloadmpv-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