mirror of
https://github.com/mpv-player/mpv
synced 2024-12-22 14:52:43 +00:00
af_scaletempo2: fix missing variable init, remove redundant init
This commit is contained in:
parent
e05591ef59
commit
95157bb0a5
@ -810,8 +810,8 @@ void mp_scaletempo2_init(struct mp_scaletempo2 *p, int channels, int rate)
|
|||||||
{
|
{
|
||||||
p->muted_partial_frame = 0;
|
p->muted_partial_frame = 0;
|
||||||
p->output_time = 0;
|
p->output_time = 0;
|
||||||
p->search_block_center_offset = 0;
|
|
||||||
p->search_block_index = 0;
|
p->search_block_index = 0;
|
||||||
|
p->target_block_index = 0;
|
||||||
p->num_complete_frames = 0;
|
p->num_complete_frames = 0;
|
||||||
p->wsola_output_started = false;
|
p->wsola_output_started = false;
|
||||||
p->channels = channels;
|
p->channels = channels;
|
||||||
|
Loading…
Reference in New Issue
Block a user