From bf9908c62746ae5bb24f7cac428ff3dd73bdc375 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Tue, 31 Dec 2013 15:55:43 +0100 Subject: [PATCH] lavfi/af_amerge: use av_make_q. --- libavfilter/af_amerge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 82b694bee5..591d672c48 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -259,7 +259,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) outbuf->pts = inbuf[0]->pts == AV_NOPTS_VALUE ? AV_NOPTS_VALUE : inbuf[0]->pts + av_rescale_q(am->in[0].pos, - (AVRational){ 1, ctx->inputs[0]->sample_rate }, + av_make_q(1, ctx->inputs[0]->sample_rate), ctx->outputs[0]->time_base); outbuf->nb_samples = nb_samples;