[FFmpeg-devel] [PATCH][RFC] -std=c99
Wed Aug 13 12:09:56 CEST 2008
On Wed, 13 Aug 2008 09:01:31 +0200
Reimar Doeffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:
> On Tue, Aug 12, 2008 at 08:56:12PM +0100, M?ns Rullg?rd wrote:
> > Most (all?) of the above-mentioned functions are POSIX standard, so
> > there should be no need for _BSD_SOURCE. If anything does require
> > this, we should look for a POSIX alternative.
> At least in MPlayer, _BSD_SOURCE is also needed for M_PI etc. Are they
> not used in FFmpeg?
M_PI don't require _BSD_SOURCE. It works fine with _XOPEN_SOURCE.
Not to mention that defining a constant that won't ever change, directly
in some of our header, isn't really a problem.
More information about the ffmpeg-devel