Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-02-07 11:13:05 +0400
committerAnton Khirnov <anton@khirnov.net>2012-02-26 10:30:21 +0400
commit87d7a92b62ad9b582afa0d4006c5a387e7a1bdac (patch)
treed6643f304776dca0ba77a608dc4b9252dd7f17c6 /libavformat/rawdec.c
parentd43040e28b7e9af315260c0837e276fdeda8eb79 (diff)
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;