From 9ec8971060a00f249f387a2baef949ec59de26a7 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 31 Jan 2013 21:07:34 +0100 Subject: [PATCH] bink demuxer: set framerate. --- libavformat/bink.c | 1 + 1 file changed, 1 insertion(+) 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;