diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-08-05 23:25:27 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-08-06 00:04:36 +0200 |
commit | 16dc5f20505d39042d06bc4b09a01e8a4558fa2b (patch) | |
tree | 774929bc39ffafaa20d7e95d5753ba920066c2c4 /libavfilter/vf_fps.c | |
parent | ad55244c9674bc52f383a967e0d1502e8a8928e9 (diff) | |
download | ffmpeg-16dc5f20505d39042d06bc4b09a01e8a4558fa2b.tar.gz |
Replace various inlined inverse AVRational with av_inv_q().
Diffstat (limited to 'libavfilter/vf_fps.c')
-rw-r--r-- | libavfilter/vf_fps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index 3fdac4f267..09b7393fe2 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -114,7 +114,7 @@ static int config_props(AVFilterLink* link) { FPSContext *s = link->src->priv; - link->time_base = (AVRational){ s->framerate.den, s->framerate.num }; + link->time_base = av_inv_q(s->framerate); link->frame_rate= s->framerate; link->w = link->src->inputs[0]->w; link->h = link->src->inputs[0]->h; |