Mercurial > libavcodec.hg
changeset 1936:e5b0b33cf8aa libavcodec
assert(time_incr >= 0) so its clear that this MUST be the case
author | michael |
---|---|
date | Tue, 13 Apr 2004 13:17:35 +0000 |
parents | e935af90767b |
children | 4d91a9342d95 |
files | h263.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/h263.c Sun Apr 11 16:28:31 2004 +0000 +++ b/h263.c Tue Apr 13 13:17:35 2004 +0000 @@ -2388,6 +2388,7 @@ time_div= s->time/s->time_increment_resolution; time_mod= s->time%s->time_increment_resolution; time_incr= time_div - s->last_time_base; + assert(time_incr >= 0); while(time_incr--) put_bits(&s->pb, 1, 1);