You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result of the / operator is the quotient from the division of the first operand by the second; the result of the % operator is the remainder. In both operations, if the value of the second operand is zero, the behavior is undefined.
In qoaconv.c L270:
doublepsnr=1.0/0.0;
This refuses to compile on some compilers like MSVC.
Changing 1.0/0.0 to the INFINITY macro seems to work fine.
The text was updated successfully, but these errors were encountered:
The C99 spec states that
In qoaconv.c L270:
This refuses to compile on some compilers like MSVC.
Changing
1.0/0.0
to the INFINITY macro seems to work fine.The text was updated successfully, but these errors were encountered: