[Ffmpeg-devel] [PATCH] Remove M_PI dependency from sample code
Fri Feb 16 21:13:26 CET 2007
Michael Niedermayer <michaelni at gmx.at> writes:
> On Wed, Feb 14, 2007 at 05:23:15PM +0100, Panagiotis Issaris wrote:
>> 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.
mans at mansr.com
More information about the ffmpeg-devel