avfilter: forward status back in some filters that missed it

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/284/merge
Paul B Mahol 7 years ago
parent ac86011b1f
commit 20a3c4f606
  1. 2
      libavfilter/af_afade.c
  2. 2
      libavfilter/af_amix.c
  3. 2
      libavfilter/af_join.c

@ -441,6 +441,8 @@ static int activate(AVFilterContext *ctx)
int ret = 0, nb_samples, status;
int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
if (s->crossfade_is_over) {
ret = ff_inlink_consume_frame(ctx->inputs[1], &in);
if (ret < 0) {

@ -425,6 +425,8 @@ static int activate(AVFilterContext *ctx)
AVFrame *buf = NULL;
int i, ret;
FF_FILTER_FORWARD_STATUS_BACK_ALL(outlink, ctx);
for (i = 0; i < s->nb_inputs; i++) {
AVFilterLink *inlink = ctx->inputs[i];

@ -472,6 +472,8 @@ static int activate(AVFilterContext *ctx)
int nb_samples = 0;
int64_t pts;
FF_FILTER_FORWARD_STATUS_BACK_ALL(ctx->outputs[0], ctx);
if (!s->input_frames[0]) {
ret = ff_inlink_consume_frame(ctx->inputs[0], &s->input_frames[0]);
if (ret < 0) {

Loading…
Cancel
Save