mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
swresample/soxr_resample: pass initialized data to soxr_process() in flush()
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
This commit is contained in:
committed by
James Almer
parent
1f7182a991
commit
018041f150
@@ -72,7 +72,7 @@ static int flush(struct SwrContext *s){
|
||||
soxr_process((soxr_t)s->resample, NULL, 0, NULL, NULL, 0, NULL);
|
||||
|
||||
{
|
||||
float f;
|
||||
float f = 0;
|
||||
size_t idone, odone;
|
||||
soxr_process((soxr_t)s->resample, &f, 0, &idone, &f, 0, &odone);
|
||||
s->delayed_samples_fixup -= soxr_delay((soxr_t)s->resample);
|
||||
|
||||
Reference in New Issue
Block a user