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
b35a8469
Commit
b35a8469
authored
Apr 28, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change silly variable name "class" to "partition_class".
parent
2d8d6882
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
vorbisdec.c
libavcodec/vorbisdec.c
+7
-7
No files found.
libavcodec/vorbisdec.c
View file @
b35a8469
...
...
@@ -1138,7 +1138,7 @@ static int vorbis_floor1_decode(vorbis_context *vc,
uint_fast16_t
floor1_Y
[
258
];
uint_fast16_t
floor1_Y_final
[
258
];
int
floor1_flag
[
258
];
uint_fast8_t
class
;
uint_fast8_t
partition_
class
;
uint_fast8_t
cdim
;
uint_fast8_t
cbits
;
uint_fast8_t
csub
;
...
...
@@ -1162,20 +1162,20 @@ static int vorbis_floor1_decode(vorbis_context *vc,
offset
=
2
;
for
(
i
=
0
;
i
<
vf
->
partitions
;
++
i
)
{
class
=
vf
->
partition_class
[
i
];
cdim
=
vf
->
class_dimensions
[
class
];
cbits
=
vf
->
class_subclasses
[
class
];
partition_
class
=
vf
->
partition_class
[
i
];
cdim
=
vf
->
class_dimensions
[
partition_
class
];
cbits
=
vf
->
class_subclasses
[
partition_
class
];
csub
=
(
1
<<
cbits
)
-
1
;
cval
=
0
;
AV_DEBUG
(
"Cbits %d
\n
"
,
cbits
);
if
(
cbits
)
// this reads all subclasses for this partition's class
cval
=
get_vlc2
(
gb
,
vc
->
codebooks
[
vf
->
class_masterbook
[
class
]].
vlc
.
table
,
vc
->
codebooks
[
vf
->
class_masterbook
[
class
]].
nb_bits
,
3
);
cval
=
get_vlc2
(
gb
,
vc
->
codebooks
[
vf
->
class_masterbook
[
partition_
class
]].
vlc
.
table
,
vc
->
codebooks
[
vf
->
class_masterbook
[
partition_
class
]].
nb_bits
,
3
);
for
(
j
=
0
;
j
<
cdim
;
++
j
)
{
book
=
vf
->
subclass_books
[
class
][
cval
&
csub
];
book
=
vf
->
subclass_books
[
partition_
class
][
cval
&
csub
];
AV_DEBUG
(
"book %d Cbits %d cval %d bits:%d
\n
"
,
book
,
cbits
,
cval
,
get_bits_count
(
gb
));
...
...
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