Commit e1f71ab0 authored by michael's avatar michael

assert(time_incr >= 0) so its clear that this MUST be the case


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3010 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 746e3c12
......@@ -2388,6 +2388,7 @@ void mpeg4_encode_picture_header(MpegEncContext * s, int picture_number)
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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment