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
b2395268
Commit
b2395268
authored
Apr 27, 2011
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vorbisdec: Rename silly "class_" variable to plain "class".
parent
81afa5a2
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 @
b2395268
...
...
@@ -1136,7 +1136,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
class
;
uint_fast8_t
cdim
;
uint_fast8_t
cbits
;
uint_fast8_t
csub
;
...
...
@@ -1160,20 +1160,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
_
];
class
=
vf
->
partition_class
[
i
];
cdim
=
vf
->
class_dimensions
[
class
];
cbits
=
vf
->
class_subclasses
[
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
[
class
]].
vlc
.
table
,
vc
->
codebooks
[
vf
->
class_masterbook
[
class
]].
nb_bits
,
3
);
for
(
j
=
0
;
j
<
cdim
;
++
j
)
{
book
=
vf
->
subclass_books
[
class
_
][
cval
&
csub
];
book
=
vf
->
subclass_books
[
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