diff --git a/libavfilter/af_amultiply.c b/libavfilter/af_amultiply.c index 7871487cdd..4ae355c794 100644 --- a/libavfilter/af_amultiply.c +++ b/libavfilter/af_amultiply.c @@ -74,6 +74,7 @@ static int activate(AVFilterContext *ctx) return AVERROR(ENOMEM); out->pts = s->frames[0]->pts; + out->duration = s->frames[0]->duration; if (av_get_packed_sample_fmt(ctx->inputs[0]->format) == AV_SAMPLE_FMT_FLT) { for (i = 0; i < s->planes; i++) {