summaryrefslogtreecommitdiffstats
path: root/libass/ass_fontselect.c
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@chown.ath.cx>2017-05-10 13:39:57 +0200
committerGrigori Goronzy <greg@chown.ath.cx>2017-05-10 13:45:31 +0200
commit4cf8d6bb3e6b75f8215b69f697b6b5c05b1c1dd2 (patch)
tree9943559c94bf98cc1c4529cf3de8751de549b93b /libass/ass_fontselect.c
parentf2832a0134a953dd7cef02e7c741bcaffdde4974 (diff)
downloadlibass-4cf8d6bb3e6b75f8215b69f697b6b5c05b1c1dd2.tar.bz2
libass-4cf8d6bb3e6b75f8215b69f697b6b5c05b1c1dd2.tar.xz
Fix PlayResX/Y calculations
Avoid that PlayResY is set to 0 when only PlayResX is specified and set to 1. Setting PlayResY to 0 results in divide-by-zero errors. Also fix PlayResX calculations in case only PlayResY is specified, for completeness. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1474.
Diffstat (limited to 'libass/ass_fontselect.c')
0 files changed, 0 insertions, 0 deletions