[Ffmpeg-devel] [PATCH] Remove M_PI dependency from sample code

Michael Niedermayer michaelni
Fri Feb 16 20:33:18 CET 2007


Hi

On Thu, Feb 15, 2007 at 10:39:36AM +0100, Panagiotis Issaris wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi,
> 
> Trent Piepho schreef:
> > On Wed, 14 Feb 2007, Panagiotis Issaris wrote:
> >> The attached patch removes a non-C dependency (being M_PI) from the
> >> apiexample.c file.
> >> [...]
> >> +#define M_PI 3.1415926535897931
> > 
> >   #define M_PI 3.14159265358979323846
> > 
> > At least use the correct value!

nitpick: correcter not correct, correct isnt possible as truncated real


> Ah. _Well_, it was copy & pasted from output_example.c, thus I'd like to
> report a bug regarding that file and a patch in attachment :)

looks ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070216/3b213f12/attachment.pgp>



More information about the ffmpeg-devel mailing list