diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-31 21:07:34 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-01 12:42:17 +0100 |
commit | 9ec8971060a00f249f387a2baef949ec59de26a7 (patch) | |
tree | b4721c093d77294998ea50d92b110bff4d55ccc4 /libavformat/bink.c | |
parent | 1730ca2eca42974af0c29f38a0770997cba2f0da (diff) | |
download | ffmpeg-9ec8971060a00f249f387a2baef949ec59de26a7.tar.gz |
bink demuxer: set framerate.
Diffstat (limited to 'libavformat/bink.c')
-rw-r--r-- | libavformat/bink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/bink.c b/libavformat/bink.c index 62c377dfff..f093e7c3e2 100644 --- a/libavformat/bink.c +++ b/libavformat/bink.c @@ -112,6 +112,7 @@ static int read_header(AVFormatContext *s) return AVERROR(EIO); } avpriv_set_pts_info(vst, 64, fps_den, fps_num); + vst->avg_frame_rate = av_inv_q(vst->time_base); vst->codec->codec_type = AVMEDIA_TYPE_VIDEO; vst->codec->codec_id = AV_CODEC_ID_BINKVIDEO; |