summaryrefslogtreecommitdiffstats
path: root/audio/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-02-13 00:12:49 +0100
committerwm4 <wm4@nowhere>2020-02-13 01:26:51 +0100
commit7e6ea02183293dce4862f795d7e3d1080570f9c2 (patch)
treef1cf7d200b6531673e4bd3ee25f75eaad90be78a /audio/out
parentffd89f5ff48d9b91b6d62129b2baec607aca441a (diff)
downloadmpv-7e6ea02183293dce4862f795d7e3d1080570f9c2.tar.bz2
mpv-7e6ea02183293dce4862f795d7e3d1080570f9c2.tar.xz
zimg: fix previous odd sizes commit
Obviously, we don't want to lose fractions, and the zimg active_region fields in fact have the type double. The integer division was wrong. Also, always set active_region.width/height. It appears zimg behavior does not change if they're set to the normal integer values, so the extra check to not set them in this case was worthless.
Diffstat (limited to 'audio/out')
0 files changed, 0 insertions, 0 deletions