projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17c22f5
)
assert(time_incr >= 0) so its clear that this MUST be the case
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Apr 2004 13:17:35 +0000
(13:17 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 13 Apr 2004 13:17:35 +0000
(13:17 +0000)
Originally committed as revision 3010 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h263.c
patch
|
blob
|
history
diff --git
a/libavcodec/h263.c
b/libavcodec/h263.c
index
2696102
..
c60044f
100644
(file)
--- a/
libavcodec/h263.c
+++ b/
libavcodec/h263.c
@@
-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);