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

Alexander Strasser eclipse7 at gmx.net
Sat Dec 14 18:40:40 EET 2024


On 2024-12-08 01:25 +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.
>
> This patch tries to not rely on M_PI being defined while also
> making the source a bit more standards compliant.
>
> The problem was repored in https://trac.mplayerhq.hu/ticket/2423

Committed as SVN r38667

Reporter of ticket 2423 also confirmed it solves part
of his problem.

Now only the C++ (static) linking problem of that ticket
remains to be solved.


  Alexander


More information about the MPlayer-dev-eng mailing list