summaryrefslogtreecommitdiff
path: root/libavformat/electronicarts.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-08-05 23:25:27 +0200
committerClément Bœsch <ubitux@gmail.com>2012-08-06 00:04:36 +0200
commit16dc5f20505d39042d06bc4b09a01e8a4558fa2b (patch)
tree774929bc39ffafaa20d7e95d5753ba920066c2c4 /libavformat/electronicarts.c
parentad55244c9674bc52f383a967e0d1502e8a8928e9 (diff)
downloadffmpeg-16dc5f20505d39042d06bc4b09a01e8a4558fa2b.tar.gz
Replace various inlined inverse AVRational with av_inv_q().
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r--libavformat/electronicarts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index 7c54ab6a97..3d51c70a64 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -440,7 +440,7 @@ static int ea_read_header(AVFormatContext *s)
if (ea->time_base.num)
avpriv_set_pts_info(st, 64, ea->time_base.num, ea->time_base.den);
st->r_frame_rate =
- st->avg_frame_rate = (AVRational){ea->time_base.den, ea->time_base.num};
+ st->avg_frame_rate = av_inv_q(ea->time_base);
}
if (ea->audio_codec) {