[vlc-devel] [PATCH] Fix date_Increment when i_divider_den > 1

Rémi Denis-Courmont rdenis at simphalempin.com
Thu Aug 7 22:23:00 CEST 2008


Le jeudi 7 août 2008 22:39:02 David Flynn, vous avez écrit :
> -        p_date->date += p_date->i_divider_den;
> +        /* It is guaranteed that: assert(i_remainder < 2*i_divider_num) */
> +        p_date->date += 1;

You might as well call assert() for real...

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list