Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
471d7dc3
Commit
471d7dc3
authored
Aug 30, 2002
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
undefined M_PI / M_E fix
Originally committed as revision 881 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
6c1baeb0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
eval.c
libavcodec/eval.c
+4
-0
ratecontrol.c
libavcodec/ratecontrol.c
+8
-0
No files found.
libavcodec/eval.c
View file @
471d7dc3
...
...
@@ -32,6 +32,10 @@
#define NAN 0
#endif
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#define STACK_SIZE 100
typedef
struct
Parser
{
...
...
libavcodec/ratecontrol.c
View file @
471d7dc3
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment