summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/ffmpeg/libavfilter/af_amerge.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/ffmpeg/libavfilter/af_amerge.c')
-rw-r--r--chromium/third_party/ffmpeg/libavfilter/af_amerge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/ffmpeg/libavfilter/af_amerge.c b/chromium/third_party/ffmpeg/libavfilter/af_amerge.c
index 82b694bee5d..591d672c48d 100644
--- a/chromium/third_party/ffmpeg/libavfilter/af_amerge.c
+++ b/chromium/third_party/ffmpeg/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;