summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-07 08:13:05 +0100
committerAnton Khirnov <anton@khirnov.net>2012-02-26 07:30:21 +0100
commit87d7a92b62ad9b582afa0d4006c5a387e7a1bdac (patch)
treed6643f304776dca0ba77a608dc4b9252dd7f17c6 /libavformat/rawdec.c
parentd43040e28b7e9af315260c0837e276fdeda8eb79 (diff)
downloadffmpeg-87d7a92b62ad9b582afa0d4006c5a387e7a1bdac.tar.gz
rawdec: set timebase to 1/fps.
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 73b3709ac1..63e963f8a4 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -159,7 +159,7 @@ int ff_raw_video_read_header(AVFormatContext *s)
}
st->r_frame_rate = st->avg_frame_rate = framerate;
- avpriv_set_pts_info(st, 64, 1, 1200000);
+ avpriv_set_pts_info(st, 64, framerate.den, framerate.num);
fail:
return ret;