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
07876e25
Commit
07876e25
authored
Apr 23, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Workaround for missing llrintf()
Originally committed as revision 22954 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
aebfb457
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
configure
configure
+2
-0
audioconvert.c
libavcodec/audioconvert.c
+1
-0
libm.h
libavutil/libm.h
+5
-0
No files found.
configure
View file @
07876e25
...
...
@@ -1052,6 +1052,7 @@ HAVE_LIST="
libdc1394_1
libdc1394_2
llrint
llrintf
local_aligned_16
local_aligned_8
log2
...
...
@@ -2585,6 +2586,7 @@ check_lib va/va.h vaInitialize -lva
check_mathfunc exp2
check_mathfunc exp2f
check_mathfunc llrint
check_mathfunc llrintf
check_mathfunc log2
check_mathfunc log2f
check_mathfunc lrint
...
...
libavcodec/audioconvert.c
View file @
07876e25
...
...
@@ -26,6 +26,7 @@
*/
#include "libavutil/avstring.h"
#include "libavutil/libm.h"
#include "avcodec.h"
#include "audioconvert.h"
...
...
libavutil/libm.h
View file @
07876e25
...
...
@@ -43,6 +43,11 @@
#define llrint(x) ((long long)rint(x))
#endif
/* HAVE_LLRINT */
#if !HAVE_LLRINTF
#undef llrintf
#define llrintf(x) ((long long)rint(x))
#endif
/* HAVE_LLRINT */
#if !HAVE_LOG2
#undef log2
#define log2(x) (log(x) * 1.44269504088896340736)
...
...
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