Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GStreamer
gst-plugins-bad
Commits
aeaea3c2
Commit
aeaea3c2
authored
Jun 29, 2002
by
David Schleef
Browse files
Fix buffer allocation problem.
Original commit message from CVS: Fix buffer allocation problem.
parent
6171b449
Changes
2
Hide whitespace changes
Inline
Side-by-side
common
@
c6bd62c4
Subproject commit
4dab76096cb84988dc2b6366cf5bd964fe5857d7
Subproject commit
c6bd62c43f01b2012d81dfa61dd58777c41de07a
gst-libs/gst/resample/resample.c
View file @
aeaea3c2
...
...
@@ -165,7 +165,7 @@ void resample_scale(resample_t * r, void *i_buf, unsigned int i_size)
r
->
i_start
,
r
->
i_end
,
r
->
o_start
);
}
if
((
r
->
filter_length
+
r
->
i_samples
)
*
2
*
2
>
r
->
buffer_len
)
{
if
((
r
->
filter_length
+
r
->
i_samples
)
*
sizeof
(
double
)
*
2
>
r
->
buffer_len
)
{
int
size
=
(
r
->
filter_length
+
r
->
i_samples
)
*
sizeof
(
double
)
*
2
;
if
(
r
->
verbose
){
...
...
@@ -882,3 +882,4 @@ GstPluginDesc plugin_desc = {
"gstresample"
,
plugin_init
};
Write
Preview
Supports
Markdown
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