summaryrefslogtreecommitdiffstats
path: root/sub/img_convert.c
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2014-09-14 14:35:56 -0400
committerwm4 <wm4@nowhere>2014-09-14 21:07:30 +0200
commit3f6212cd8d2d8a86bb913d00463620cd2abbc8d9 (patch)
tree77523330edb4cd59b1930fb988a50c4231099fdd /sub/img_convert.c
parente0b4daf3ad240ecf70af73c13b6ca9b1062a507f (diff)
downloadmpv-3f6212cd8d2d8a86bb913d00463620cd2abbc8d9.tar.bz2
mpv-3f6212cd8d2d8a86bb913d00463620cd2abbc8d9.tar.xz
sanitizer: avoid divide-by-zero instances
Merges pull request #1094, with some minor changes. mpv expects IEEE, and IEEE allows divisions by 0 for floats, so these shouldn't actually be a problem, but do it anyway for the sake of clang. Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'sub/img_convert.c')
0 files changed, 0 insertions, 0 deletions