]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mvi.c
Merge commit 'b9ee5f2cab3ffe1c962e542346b1ed61394864ec'
[ffmpeg] / libavformat / mvi.c
index 9184927a2f7b27392bf99ab7b8ed8883ed87580e..6b74597f076406b861c6b0bf77127d8aeb50aec2 100644 (file)
@@ -89,6 +89,7 @@ static int read_header(AVFormatContext *s)
     ast->codec->bit_rate        = ast->codec->sample_rate * 8;
 
     avpriv_set_pts_info(vst, 64, msecs_per_frame, 1000000);
+    vst->avg_frame_rate    = av_inv_q(vst->time_base);
     vst->codec->codec_type = AVMEDIA_TYPE_VIDEO;
     vst->codec->codec_id   = AV_CODEC_ID_MOTIONPIXELS;