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
ec6313ad
Commit
ec6313ad
authored
Jun 02, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbis: Remove pointless DEBUG #ifdef around debug output macros.
parent
fb52cf82
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
vorbisdec.c
libavcodec/vorbisdec.c
+0
-6
No files found.
libavcodec/vorbisdec.c
View file @
ec6313ad
...
...
@@ -605,7 +605,6 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
if
(
!
floor_setup
->
data
.
t0
.
lsp
)
return
-
1
;
#ifdef V_DEBUG
/* debug output parsed headers */
/* debug output parsed headers */
av_dlog
(
NULL
,
"floor0 order: %u
\n
"
,
floor_setup
->
data
.
t0
.
order
);
av_dlog
(
NULL
,
"floor0 rate: %u
\n
"
,
floor_setup
->
data
.
t0
.
rate
);
...
...
@@ -626,7 +625,6 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
floor_setup
->
data
.
t0
.
book_list
[
idx
]);
}
}
#endif
}
else
{
av_log
(
vc
->
avccontext
,
AV_LOG_ERROR
,
"Invalid floor type!
\n
"
);
return
-
1
;
...
...
@@ -811,11 +809,9 @@ static void create_map(vorbis_context *vc, unsigned floor_number)
vf
->
map_size
[
blockflag
]
=
n
;
}
#ifdef V_DEBUG
for
(
idx
=
0
;
idx
<=
n
;
++
idx
)
{
av_dlog
(
NULL
,
"floor0 map: map at pos %d is %d
\n
"
,
idx
,
map
[
idx
]);
}
#endif
}
static
int
vorbis_parse_setup_hdr_modes
(
vorbis_context
*
vc
)
...
...
@@ -1077,14 +1073,12 @@ static int vorbis_floor0_decode(vorbis_context *vc,
lsp_len
+=
codebook
.
dimensions
;
}
#ifdef V_DEBUG
/* DEBUG: output lsp coeffs */
{
int
idx
;
for
(
idx
=
0
;
idx
<
lsp_len
;
++
idx
)
av_dlog
(
NULL
,
"floor0 dec: coeff at %d is %f
\n
"
,
idx
,
lsp
[
idx
]);
}
#endif
/* synthesize floor output vector */
{
...
...
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