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 /libavformat/rawdec.c | |
parent | ad55244c9674bc52f383a967e0d1502e8a8928e9 (diff) | |
download | ffmpeg-16dc5f20505d39042d06bc4b09a01e8a4558fa2b.tar.gz |
Replace various inlined inverse AVRational with av_inv_q().
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r-- | libavformat/rawdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c index 1f28ffbeea..25d17b6c1e 100644 --- a/libavformat/rawdec.c +++ b/libavformat/rawdec.c @@ -165,7 +165,7 @@ int ff_raw_video_read_header(AVFormatContext *s) goto fail; } - st->codec->time_base = (AVRational){framerate.den, framerate.num}; + st->codec->time_base = av_inv_q(framerate); avpriv_set_pts_info(st, 64, 1, 1200000); fail: |