[vlc-devel] commit: mtime: we might as well assert for real (Derk-Jan Hartman )
git version control
git at videolan.org
Sun Aug 10 23:34:39 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug 10 23:36:48 2008 +0200| [941863db11e32e415260e887e66b93a6ae64258c] | committer: Derk-Jan Hartman
mtime: we might as well assert for real
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=941863db11e32e415260e887e66b93a6ae64258c
---
src/misc/mtime.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/mtime.c b/src/misc/mtime.c
index d5a809f..6c13eac 100644
--- a/src/misc/mtime.c
+++ b/src/misc/mtime.c
@@ -484,7 +484,7 @@ mtime_t date_Increment( date_t *p_date, uint32_t i_nb_samples )
if( p_date->i_remainder >= p_date->i_divider_num )
{
/* This is Bresenham algorithm. */
- /* It is guaranteed that: assert(i_remainder < 2*i_divider_num) */
+ assert( p_date->i_remainder < 2*p_date->i_divider_num);
p_date->date += 1;
p_date->i_remainder -= p_date->i_divider_num;
}
More information about the vlc-devel
mailing list