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
62de77ff
Commit
62de77ff
authored
Mar 03, 2015
by
Luca Barbato
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbis: Use a local codebook variable
Makes the code a little simpler.
parent
0f9f7969
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
vorbisdec.c
libavcodec/vorbisdec.c
+4
-3
No files found.
libavcodec/vorbisdec.c
View file @
62de77ff
...
...
@@ -1307,14 +1307,15 @@ static av_always_inline int setup_classifs(vorbis_context *vc,
unsigned
ch_used
,
int
partition_count
)
{
vorbis_codebook
*
codebook
=
vc
->
codebooks
+
vr
->
classbook
;
int
p
,
j
,
i
;
unsigned
c_p_c
=
vc
->
codebooks
[
vr
->
classbook
].
dimensions
;
unsigned
c_p_c
=
codebook
->
dimensions
;
unsigned
inverse_class
=
ff_inverse
[
vr
->
classifications
];
unsigned
temp
,
temp2
;
for
(
p
=
0
,
j
=
0
;
j
<
ch_used
;
++
j
)
{
if
(
!
do_not_decode
[
j
])
{
temp
=
get_vlc2
(
&
vc
->
gb
,
vc
->
codebooks
[
vr
->
classbook
].
vlc
.
table
,
vc
->
codebooks
[
vr
->
classbook
].
nb_bits
,
3
);
temp
=
get_vlc2
(
&
vc
->
gb
,
codebook
->
vlc
.
table
,
codebook
->
nb_bits
,
3
);
av_dlog
(
NULL
,
"Classword: %u
\n
"
,
temp
);
...
...
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