From c4b7ad324b0492962752c85efabf54a73e28b559 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 31 Dec 2013 15:55:44 +0100 Subject: [PATCH] lavfi/avf_concat: use av_make_q. --- libavfilter/avf_concat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avf_concat.c b/libavfilter/avf_concat.c index c211dc43d6..18f373ca0a 100644 --- a/libavfilter/avf_concat.c +++ b/libavfilter/avf_concat.c @@ -174,7 +174,7 @@ static int push_frame(AVFilterContext *ctx, unsigned in_no, AVFrame *buf) if (inlink->sample_rate) /* use number of audio samples */ in->pts += av_rescale_q(buf->nb_samples, - (AVRational){ 1, inlink->sample_rate }, + av_make_q(1, inlink->sample_rate), outlink->time_base); else if (in->nb_frames >= 2) /* use mean duration */