This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/af_rubberband: check if rbs is valid
tags/n4.2
Paul B Mahol
6 years ago
parent
21d1bb00c4
commit
a89ec33fd5
1 changed files
with
2 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
libavfilter/af_rubberband.c
+ 2
- 0
libavfilter/af_rubberband.c
View File
@@ -157,6 +157,8 @@ static int config_input(AVFilterLink *inlink)
if (s->rbs)
if (s->rbs)
rubberband_delete(s->rbs);
rubberband_delete(s->rbs);
s->rbs = rubberband_new(inlink->sample_rate, inlink->channels, opts, 1. / s->tempo, s->pitch);
s->rbs = rubberband_new(inlink->sample_rate, inlink->channels, opts, 1. / s->tempo, s->pitch);
if (!s->rbs)
return AVERROR(ENOMEM);
inlink->partial_buf_size =
inlink->partial_buf_size =
inlink->min_samples =
inlink->min_samples =
Write
Preview
Loading…
Cancel
Save