Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
ebfad4b9
Commit
ebfad4b9
authored
Sep 21, 2008
by
Laurent Aimar
Committed by
Derk-Jan Hartman
Sep 21, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use block_Release in bandlimited resampler.
(cherry picked from commit
413fc5d8
)
parent
65c2a9bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
modules/audio_filter/resampler/bandlimited.c
modules/audio_filter/resampler/bandlimited.c
+4
-3
No files found.
modules/audio_filter/resampler/bandlimited.c
View file @
ebfad4b9
...
...
@@ -562,7 +562,8 @@ static block_t *Resample( filter_t *p_filter, block_t *p_block )
if
(
!
p_block
||
!
p_block
->
i_samples
)
{
if
(
p_block
)
p_block
->
pf_release
(
p_block
);
if
(
p_block
)
block_Release
(
p_block
);
return
NULL
;
}
...
...
@@ -576,7 +577,7 @@ static block_t *Resample( filter_t *p_filter, block_t *p_block )
if
(
!
p_out
)
{
msg_Warn
(
p_filter
,
"can't get output buffer"
);
p_block
->
pf_r
elease
(
p_block
);
block_R
elease
(
p_block
);
return
NULL
;
}
...
...
@@ -604,7 +605,7 @@ static block_t *Resample( filter_t *p_filter, block_t *p_block )
DoWork
(
(
aout_instance_t
*
)
p_filter
,
&
aout_filter
,
&
in_buf
,
&
out_buf
);
p_block
->
pf_r
elease
(
p_block
);
block_R
elease
(
p_block
);
p_out
->
i_buffer
=
out_buf
.
i_nb_bytes
;
p_out
->
i_samples
=
out_buf
.
i_nb_samples
;
...
...
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