diff options
author | Nicolas George <george@nsup.org> | 2013-12-31 15:55:43 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-01-19 17:12:40 +0100 |
commit | bf9908c62746ae5bb24f7cac428ff3dd73bdc375 (patch) | |
tree | 67f63de5c57728557025a093f3035c6cd23aed69 /libavfilter | |
parent | 3532dd52c51f3d4b95f31d1b195e64a04a8aea5d (diff) |
lavfi/af_amerge: use av_make_q.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_amerge.c | 2 |
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; |