Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Vorbis
Commits
978821d8
Commit
978821d8
authored
Jun 21, 2007
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Catch one more omission in the vector length guarding
svn path=/trunk/vorbis/; revision=13155
parent
203f6512
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/res0.c
lib/res0.c
+1
-1
No files found.
lib/res0.c
View file @
978821d8
...
@@ -849,7 +849,7 @@ int res2_inverse(vorbis_block *vb,vorbis_look_residue *vl,
...
@@ -849,7 +849,7 @@ int res2_inverse(vorbis_block *vb,vorbis_look_residue *vl,
int
partitions_per_word
=
look
->
phrasebook
->
dim
;
int
partitions_per_word
=
look
->
phrasebook
->
dim
;
int
max
=
(
vb
->
pcmend
*
ch
)
>>
1
;
int
max
=
(
vb
->
pcmend
*
ch
)
>>
1
;
int
end
=
(
info
->
end
<
max
?
info
->
end
:
max
);
int
end
=
(
info
->
end
<
max
?
info
->
end
:
max
);
int
n
=
info
->
end
-
info
->
begin
;
int
n
=
end
-
info
->
begin
;
if
(
n
>
0
){
if
(
n
>
0
){
int
partvals
=
n
/
samples_per_partition
;
int
partvals
=
n
/
samples_per_partition
;
...
...
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