[MPlayer-dev-eng] [PATCH] Include lavu mathematics.h everywhere M_PI is used

compn ff at hawaiiantel.net
Thu Dec 12 00:58:34 EET 2024


On Sun, 8 Dec 2024 01:25:26 +0100, Alexander Strasser wrote:

> M_PI is not mandated by the C standard.
> 
> Fix part of ticket 2423
> ---
> 
> Depening on the platform the switch to C11 has the effect of
> losing the M_PI define.

i agree we should define m_pi then.

> This patch tries to not rely on M_PI being defined while also
> making the source a bit more standards compliant.

i did not test patch.

-compn



More information about the MPlayer-dev-eng mailing list