diff --git a/libavformat/utils.c b/libavformat/utils.c index 78255c32b1..fe2916ff97 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3096,7 +3096,8 @@ void ff_rfps_calculate(AVFormatContext *ic) for (j= 0; jinfo->codec_info_duration && st->info->codec_info_duration*av_q2d(st->time_base) < (1001*12.0)/get_std_framerate(j)) + if (st->info->codec_info_duration && + st->info->codec_info_duration*av_q2d(st->time_base) < (1001*11.5)/get_std_framerate(j)) continue; if (!st->info->codec_info_duration && get_std_framerate(j) < 1001*12) continue;