diff options
author | Nicolas George <george@nsup.org> | 2013-12-31 15:55:44 +0100 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2014-01-19 17:12:50 +0100 |
commit | c4b7ad324b0492962752c85efabf54a73e28b559 (patch) | |
tree | 0cb95c164a78590d84b97ddb151ed6af48f29618 /libavfilter | |
parent | bf9908c62746ae5bb24f7cac428ff3dd73bdc375 (diff) |
lavfi/avf_concat: use av_make_q.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avf_concat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |