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

Rémi Denis-Courmont rdenis at simphalempin.com
Fri Aug 8 08:23:11 CEST 2008


On Thu, 7 Aug 2008 21:24:26 +0000 (UTC), David Flynn <davidf+nntp at woaf.net>
wrote:
> On 2008-08-07, Rémi Denis-Courmont <rdenis at simphalempin.com> wrote:
>> Le jeudi 7 août 2008 22:39:02 David Flynn, vous avez écrit :
>>> +        /* It is guaranteed that: assert(i_remainder <
> 2*i_divider_num) */
>> You might as well call assert() for real...
> 
> Indeed; although i'm usually wary in paths where the assertion isn't a
> critical guard.  (There is no point in killing a process over a 1us
> rounding error).

assert() are not built in release builds anyway.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list