Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis
Commits
23f130cc
Commit
23f130cc
authored
Aug 20, 2007
by
erikd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove warnings about unused or uninitialized variables.
svn path=/trunk/vorbis/; revision=13578
parent
aa35ec84
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
9 deletions
+2
-9
lib/floor1.c
lib/floor1.c
+0
-4
lib/mapping0.c
lib/mapping0.c
+2
-3
lib/psy.c
lib/psy.c
+0
-1
lib/res0.c
lib/res0.c
+0
-1
No files found.
lib/floor1.c
View file @
23f130cc
...
...
@@ -399,7 +399,6 @@ static int accumulate_fit(const float *flr,const float *mdct,
int
x0
,
int
x1
,
lsfit_acc
*
a
,
int
n
,
vorbis_info_floor1
*
info
){
long
i
;
int
quantized
=
vorbis_dBquant
(
flr
+
x0
);
long
xa
=
0
,
ya
=
0
,
x2a
=
0
,
y2a
=
0
,
xya
=
0
,
na
=
0
,
xb
=
0
,
yb
=
0
,
x2b
=
0
,
y2b
=
0
,
xyb
=
0
,
nb
=
0
;
...
...
@@ -577,8 +576,6 @@ static int post_Y(int *A,int *B,int pos){
return
(
A
[
pos
]
+
B
[
pos
])
>>
1
;
}
static
int
seq
=
0
;
int
*
floor1_fit
(
vorbis_block
*
vb
,
vorbis_look_floor1
*
look
,
const
float
*
logmdct
,
/* in */
const
float
*
logmask
){
...
...
@@ -749,7 +746,6 @@ int floor1_encode(oggpack_buffer *opb,vorbis_block *vb,
long
i
,
j
;
vorbis_info_floor1
*
info
=
look
->
vi
;
long
n
=
look
->
n
;
long
posts
=
look
->
posts
;
codec_setup_info
*
ci
=
vb
->
vd
->
vi
->
codec_setup
;
int
out
[
VIF_POSIT
+
2
];
...
...
lib/mapping0.c
View file @
23f130cc
...
...
@@ -576,8 +576,8 @@ static int mapping0_forward(vorbis_block *vb){
float
**
couple_bundle
=
alloca
(
sizeof
(
*
couple_bundle
)
*
vi
->
channels
);
int
*
zerobundle
=
alloca
(
sizeof
(
*
zerobundle
)
*
vi
->
channels
);
int
**
sortindex
=
alloca
(
sizeof
(
*
sortindex
)
*
vi
->
channels
);
float
**
mag_memo
;
int
**
mag_sort
;
float
**
mag_memo
=
NULL
;
int
**
mag_sort
=
NULL
;
if
(
info
->
coupling_steps
){
mag_memo
=
_vp_quantize_couple_memo
(
vb
,
...
...
@@ -725,7 +725,6 @@ static int mapping0_inverse(vorbis_block *vb,vorbis_info_mapping *l){
codec_setup_info
*
ci
=
vi
->
codec_setup
;
private_state
*
b
=
vd
->
backend_state
;
vorbis_info_mapping0
*
info
=
(
vorbis_info_mapping0
*
)
l
;
int
hs
=
ci
->
halfrate_flag
;
int
i
,
j
;
long
n
=
vb
->
pcmend
=
ci
->
blocksizes
[
vb
->
W
];
...
...
lib/psy.c
View file @
23f130cc
...
...
@@ -1217,7 +1217,6 @@ void hf_reduction(vorbis_info_psy_global *g,
int
i
,
j
,
n
=
p
->
n
,
de
=
0
.
3
*
p
->
m_val
;
int
limit
=
g
->
coupling_pointlimit
[
p
->
vi
->
blockflag
][
PACKETBLOBS
/
2
];
int
start
=
p
->
vi
->
normal_start
;
for
(
i
=
0
;
i
<
vi
->
coupling_steps
;
i
++
){
/* for(j=start; j<limit; j++){} // ???*/
...
...
lib/res0.c
View file @
23f130cc
...
...
@@ -372,7 +372,6 @@ static long **_01class(vorbis_block *vb,vorbis_look_residue *vl,
vorbis_look_residue0
*
look
=
(
vorbis_look_residue0
*
)
vl
;
vorbis_info_residue0
*
info
=
look
->
info
;
vorbis_info
*
vi
=
vb
->
vd
->
vi
;
codec_setup_info
*
ci
=
vi
->
codec_setup
;
/* move all this setup out later */
int
samples_per_partition
=
info
->
grouping
;
...
...
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