diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-22 13:05:21 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-07-01 19:06:13 +0300 |
commit | a1245d5ca1bed154a3bf38843b63018ae3544115 (patch) | |
tree | 2ef57f9ac6df7f6e8e2511d2d5a62e720d9feb97 /libswscale | |
parent | 710bd8a33e9c183ded4a61d742d404d8d5d838ea (diff) | |
download | ffmpeg-a1245d5ca1bed154a3bf38843b63018ae3544115.tar.gz |
mathematics: Don't use division by zero in NAN/INFINITY macros
Some compilers, MSVC among them, don't recognize the divisions by
zero as meaning infinity/nan.
These macros should, according to the standard, expand to constant
expressions, but this shouldn't matter for our usage.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions