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
b2a51e3d
Commit
b2a51e3d
authored
Feb 07, 2011
by
Alexander Strasser
Committed by
Michael Niedermayer
Feb 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbis dec: cosmetics: Indent after scope deletion
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
21494e55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
vorbis_dec.c
libavcodec/vorbis_dec.c
+10
-10
No files found.
libavcodec/vorbis_dec.c
View file @
b2a51e3d
...
...
@@ -594,13 +594,13 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
create_map
(
vc
,
i
);
/* codebook dim is for padding if codebook dim doesn't *
* divide order+1 then we need to read more data */
floor_setup
->
data
.
t0
.
lsp
=
av_malloc
((
floor_setup
->
data
.
t0
.
order
+
1
+
max_codebook_dim
)
*
sizeof
(
float
));
if
(
!
floor_setup
->
data
.
t0
.
lsp
)
return
-
1
;
/* codebook dim is for padding if codebook dim doesn't *
* divide order+1 then we need to read more data */
floor_setup
->
data
.
t0
.
lsp
=
av_malloc
((
floor_setup
->
data
.
t0
.
order
+
1
+
max_codebook_dim
)
*
sizeof
(
float
));
if
(
!
floor_setup
->
data
.
t0
.
lsp
)
return
-
1
;
#ifdef V_DEBUG
/* debug output parsed headers */
AV_DEBUG
(
"floor0 order: %u
\n
"
,
floor_setup
->
data
.
t0
.
order
);
...
...
@@ -1107,9 +1107,9 @@ static int vorbis_floor0_decode(vorbis_context *vc,
}
/* calculate linear floor value */
q
=
exp
((((
amplitude
*
vf
->
amplitude_offset
)
/
(((
1
<<
vf
->
amplitude_bits
)
-
1
)
*
sqrt
(
p
+
q
)))
-
vf
->
amplitude_offset
)
*
.
11512925
f
);
q
=
exp
((((
amplitude
*
vf
->
amplitude_offset
)
/
(((
1
<<
vf
->
amplitude_bits
)
-
1
)
*
sqrt
(
p
+
q
)))
-
vf
->
amplitude_offset
)
*
.
11512925
f
);
/* fill vector */
do
{
...
...
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