1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

undefined M_PI / M_E fix

Originally committed as revision 881 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2002-08-30 16:16:30 +00:00
parent 6c1baeb0aa
commit 471d7dc3d0
2 changed files with 12 additions and 0 deletions

View File

@ -32,6 +32,10 @@
#define NAN 0
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#define STACK_SIZE 100
typedef struct Parser{

View File

@ -26,6 +26,14 @@
#undef NDEBUG // allways check asserts, the speed effect is far too small to disable them
#include <assert.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#ifndef M_E
#define M_E 2.718281828
#endif
static int init_pass2(MpegEncContext *s);
static double get_qscale(MpegEncContext *s, RateControlEntry *rce, double rate_factor, int frame_num);