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
7204850e
Commit
7204850e
authored
Apr 25, 2009
by
Benjamin Larsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the COOKDEBUG code
Originally committed as revision 18684 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
4a291c90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
cook.c
libavcodec/cook.c
+11
-11
No files found.
libavcodec/cook.c
View file @
7204850e
...
...
@@ -1033,23 +1033,23 @@ static void dump_cook_context(COOKContext *q)
//int i=0;
#define PRINT(a,b) av_log(q->avctx,AV_LOG_ERROR," %s = %d\n", a, b);
av_log
(
q
->
avctx
,
AV_LOG_ERROR
,
"COOKextradata
\n
"
);
av_log
(
q
->
avctx
,
AV_LOG_ERROR
,
"cookversion=%x
\n
"
,
q
->
cookversion
);
if
(
q
->
cookversion
>
STEREO
)
{
PRINT
(
"js_subband_start"
,
q
->
js_subband_start
);
PRINT
(
"js_vlc_bits"
,
q
->
js_vlc_bits
);
av_log
(
q
->
avctx
,
AV_LOG_ERROR
,
"cookversion=%x
\n
"
,
q
->
subpacket
[
0
].
cookversion
);
if
(
q
->
subpacket
[
0
].
cookversion
>
STEREO
)
{
PRINT
(
"js_subband_start"
,
q
->
subpacket
[
0
].
js_subband_start
);
PRINT
(
"js_vlc_bits"
,
q
->
subpacket
[
0
].
js_vlc_bits
);
}
av_log
(
q
->
avctx
,
AV_LOG_ERROR
,
"COOKContext
\n
"
);
PRINT
(
"nb_channels"
,
q
->
nb_channels
);
PRINT
(
"bit_rate"
,
q
->
bit_rate
);
PRINT
(
"sample_rate"
,
q
->
sample_rate
);
PRINT
(
"samples_per_channel"
,
q
->
samples_per_channel
);
PRINT
(
"samples_per_frame"
,
q
->
samples_per_frame
);
PRINT
(
"subbands"
,
q
->
subbands
);
PRINT
(
"samples_per_channel"
,
q
->
s
ubpacket
[
0
].
s
amples_per_channel
);
PRINT
(
"samples_per_frame"
,
q
->
s
ubpacket
[
0
].
s
amples_per_frame
);
PRINT
(
"subbands"
,
q
->
sub
packet
[
0
].
sub
bands
);
PRINT
(
"random_state"
,
q
->
random_state
);
PRINT
(
"js_subband_start"
,
q
->
js_subband_start
);
PRINT
(
"log2_numvector_size"
,
q
->
log2_numvector_size
);
PRINT
(
"numvector_size"
,
q
->
numvector_size
);
PRINT
(
"total_subbands"
,
q
->
total_subbands
);
PRINT
(
"js_subband_start"
,
q
->
subpacket
[
0
].
js_subband_start
);
PRINT
(
"log2_numvector_size"
,
q
->
subpacket
[
0
].
log2_numvector_size
);
PRINT
(
"numvector_size"
,
q
->
subpacket
[
0
].
numvector_size
);
PRINT
(
"total_subbands"
,
q
->
subpacket
[
0
].
total_subbands
);
}
#endif
...
...
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