avfilter/af_silenceremove: fix logic error in EOF case

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/272/head
Paul B Mahol 7 years ago
parent 26c0c84784
commit 9152bda839
  1. 2
      libavfilter/af_silenceremove.c

@ -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;
}

Loading…
Cancel
Save