Mercurial > libavcodec.hg
diff utils.c @ 1396:e380ac39024a libavcodec
cleanup / fixes
author | michaelni |
---|---|
date | Tue, 05 Aug 2003 10:19:43 +0000 |
parents | da0b3a50d209 |
children | 7fbe89a76b73 |
line wrap: on
line diff
--- a/utils.c Sat Aug 02 22:01:02 2003 +0000 +++ b/utils.c Tue Aug 05 10:19:43 2003 +0000 @@ -220,6 +220,7 @@ InternalBuffer *buf, *last, temp; assert(pic->type==FF_BUFFER_TYPE_INTERNAL); + assert(s->internal_buffer_count); for(i=0; i<s->internal_buffer_count; i++){ //just 3-5 checks so is not worth to optimize buf= &((InternalBuffer*)s->internal_buffer)[i];