mirror of https://github.com/mpv-player/mpv
af_lavrresample: context is always allocated here
This commit is contained in:
parent
aea2328906
commit
b20026c29b
|
@ -153,7 +153,6 @@ static int control(struct af_instance *af, int cmd, void *arg)
|
|||
af->delay = out->nch * s->opts.filter_size / FFMIN(af->mul, 1);
|
||||
|
||||
if (needs_lavrctx_reconfigure(s, in, out)) {
|
||||
if (s->avrctx)
|
||||
avresample_close(s->avrctx);
|
||||
|
||||
s->ctx.out_rate = out->rate;
|
||||
|
|
Loading…
Reference in New Issue