From 697e0fc06231f54781156c01de1590096db22fba Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 15:57:25 +0100 Subject: [PATCH] avfilter/af_afftfilt: call av_frame_copy_props() --- libavfilter/af_afftfilt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_afftfilt.c b/libavfilter/af_afftfilt.c index a65ccc8594..9b09dcaa39 100644 --- a/libavfilter/af_afftfilt.c +++ b/libavfilter/af_afftfilt.c @@ -345,7 +345,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) goto fail; } - out->pts = in->pts; + av_frame_copy_props(out, in); out->nb_samples = in->nb_samples; for (ch = 0; ch < inlink->ch_layout.nb_channels; ch++) {