diff --git a/libavformat/bink.c b/libavformat/bink.c
index 62c377dfffc0d8f7db1133124d9748111e9b604f..f093e7c3e270ab704c97d706555bdb31cb83c9a5 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;