[FFmpeg-devel] [PATCH 3/4] Better threshold for the gcd based r_frame_rate calculation.
Måns Rullgård
mans
Wed Feb 16 13:04:11 CET 2011
Luca Barbato <lu_zero at gentoo.org> writes:
> On 2/16/11 10:39 AM, Janne Grunau wrote:
>> - if (tb_unreliable(st->codec)&& st->info->duration_count> 15&& st->info->duration_gcd> 1&& !st->r_frame_rate.num)
>> + if (tb_unreliable(st->codec)&& st->info->duration_count> 15&& st->info->duration_gcd> FFMAX(1, st->time_base.den/(500LL*st->time_base.num))&& !st->r_frame_rate.num)
>
> I wonder what 500LL is...
(long long) 500, standard C syntax.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list