提交 6c205de2 编写于 作者: M Michael Niedermayer

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

Originally committed as revision 3010 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 17c22f57
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册