Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2013-12-31 18:55:43 +0400
committerNicolas George <george@nsup.org>2014-01-19 20:12:40 +0400
commitbf9908c62746ae5bb24f7cac428ff3dd73bdc375 (patch)
tree67f63de5c57728557025a093f3035c6cd23aed69 /libavfilter/af_amerge.c
parent3532dd52c51f3d4b95f31d1b195e64a04a8aea5d (diff)
lavfi/af_amerge: use av_make_q.
Diffstat (limited to 'libavfilter/af_amerge.c')
-rw-r--r--libavfilter/af_amerge.c2
1 files changed, 1 insertions, 1 deletions
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;