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>2011-12-10 15:40:05 +0400
committerAnton Khirnov <anton@khirnov.net>2011-12-11 01:02:44 +0400
commite745d7525a21731a871318daff972608c1aeceec (patch)
tree5996bcb484ef75ed700f6785ba17aead07b24508 /libavformat/rawdec.c
parent489a7b07e9c4df1bea04a4d428a9c5a44c07f883 (diff)
rawdec: don't set codec timebase.
It's not supposed to be set outside of lavc. Set r_frame_rate and avg_frame_rate instead.
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 81dd8b49e5..589cdd5db9 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -159,7 +159,7 @@ int ff_raw_video_read_header(AVFormatContext *s,
goto fail;
}
- st->codec->time_base = (AVRational){framerate.den, framerate.num};
+ st->r_frame_rate = st->avg_frame_rate = framerate;
avpriv_set_pts_info(st, 64, 1, 1200000);
fail: