avfilter/af_silenceremove: fix logic error in EOF case

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2017-11-27 13:38:33 +01:00
parent 26c0c84784
commit 9152bda839

View File

@ -469,7 +469,7 @@ static int request_frame(AVFilterLink *outlink)
(AVRational){1, outlink->sample_rate},
outlink->time_base);
ret = ff_filter_frame(ctx->inputs[0], frame);
ret = ff_filter_frame(outlink, frame);
}
s->mode = SILENCE_STOP;
}