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
e19ca845
Commit
e19ca845
authored
May 29, 2005
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ilog() -> av_log2()
Originally committed as revision 4318 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
13c2469d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
vorbis.c
libavcodec/vorbis.c
+1
-8
No files found.
libavcodec/vorbis.c
View file @
e19ca845
...
@@ -52,14 +52,7 @@ unsigned int get_bits_long_le(GetBitContext *s, int n){
...
@@ -52,14 +52,7 @@ unsigned int get_bits_long_le(GetBitContext *s, int n){
}
}
}
}
static
unsigned
int
ilog
(
unsigned
int
i
)
{
// unfortunatelly av_log2 uses different rounding
#define ilog(i) av_log2(2*(i))
unsigned
int
ret
=
0
;
while
(
i
!=
0
)
{
++
ret
;
i
>>=
1
;
}
return
ret
;
}
static
unsigned
int
nth_root
(
unsigned
int
x
,
unsigned
int
n
)
{
// x^(1/n)
static
unsigned
int
nth_root
(
unsigned
int
x
,
unsigned
int
n
)
{
// x^(1/n)
unsigned
int
ret
=
0
,
i
,
j
;
unsigned
int
ret
=
0
,
i
,
j
;
...
...
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