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
6d173dae
Commit
6d173dae
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 consistently
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
b2a51e3d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
vorbis_dec.c
libavcodec/vorbis_dec.c
+14
-14
No files found.
libavcodec/vorbis_dec.c
View file @
6d173dae
...
...
@@ -568,9 +568,9 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
/* zero would result in a div by zero later *
* 2^0 - 1 == 0 */
if
(
floor_setup
->
data
.
t0
.
amplitude_bits
==
0
)
{
av_log
(
vc
->
avccontext
,
AV_LOG_ERROR
,
"Floor 0 amplitude bits is 0.
\n
"
);
return
-
1
;
av_log
(
vc
->
avccontext
,
AV_LOG_ERROR
,
"Floor 0 amplitude bits is 0.
\n
"
);
return
-
1
;
}
floor_setup
->
data
.
t0
.
amplitude_offset
=
get_bits
(
gb
,
8
);
floor_setup
->
data
.
t0
.
num_books
=
get_bits
(
gb
,
4
)
+
1
;
...
...
@@ -606,22 +606,22 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
AV_DEBUG
(
"floor0 order: %u
\n
"
,
floor_setup
->
data
.
t0
.
order
);
AV_DEBUG
(
"floor0 rate: %u
\n
"
,
floor_setup
->
data
.
t0
.
rate
);
AV_DEBUG
(
"floor0 bark map size: %u
\n
"
,
floor_setup
->
data
.
t0
.
bark_map_size
);
floor_setup
->
data
.
t0
.
bark_map_size
);
AV_DEBUG
(
"floor0 amplitude bits: %u
\n
"
,
floor_setup
->
data
.
t0
.
amplitude_bits
);
floor_setup
->
data
.
t0
.
amplitude_bits
);
AV_DEBUG
(
"floor0 amplitude offset: %u
\n
"
,
floor_setup
->
data
.
t0
.
amplitude_offset
);
floor_setup
->
data
.
t0
.
amplitude_offset
);
AV_DEBUG
(
"floor0 number of books: %u
\n
"
,
floor_setup
->
data
.
t0
.
num_books
);
floor_setup
->
data
.
t0
.
num_books
);
AV_DEBUG
(
"floor0 book list pointer: %p
\n
"
,
floor_setup
->
data
.
t0
.
book_list
);
floor_setup
->
data
.
t0
.
book_list
);
{
int
idx
;
for
(
idx
=
0
;
idx
<
floor_setup
->
data
.
t0
.
num_books
;
++
idx
)
{
AV_DEBUG
(
" Book %d: %u
\n
"
,
idx
+
1
,
floor_setup
->
data
.
t0
.
book_list
[
idx
]);
}
int
idx
;
for
(
idx
=
0
;
idx
<
floor_setup
->
data
.
t0
.
num_books
;
++
idx
)
{
AV_DEBUG
(
" Book %d: %u
\n
"
,
idx
+
1
,
floor_setup
->
data
.
t0
.
book_list
[
idx
]);
}
}
#endif
}
else
{
...
...
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