1
0
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:
ferreum 2023-09-19 19:34:15 +02:00 committed by Niklas Haas
parent e05591ef59
commit 95157bb0a5

View File

@ -810,8 +810,8 @@ void mp_scaletempo2_init(struct mp_scaletempo2 *p, int channels, int rate)
{
p->muted_partial_frame = 0;
p->output_time = 0;
p->search_block_center_offset = 0;
p->search_block_index = 0;
p->target_block_index = 0;
p->num_complete_frames = 0;
p->wsola_output_started = false;
p->channels = channels;