[Ffmpeg-devel] [PATCH] Remove M_PI dependency from sample code
Måns Rullgård
mans
Fri Feb 16 21:13:26 CET 2007
Michael Niedermayer <michaelni at gmx.at> writes:
> Hi
>
> On Wed, Feb 14, 2007 at 05:23:15PM +0100, Panagiotis Issaris wrote:
>> Hi,
>>
>> The attached patch removes a non-C dependency (being M_PI) from the
>> apiexample.c file.
>
> hmmmm, id say no to the #ifndef and rename M_PI to PI if needed as thats
> simpler ...
POSIX, but not C99, mandates that M_PI be #defined in math.h.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list