Revision 59c673d5 libavcodec/utils.c

View differences:

libavcodec/utils.c
220 220
    InternalBuffer *buf, *last, temp;
221 221

  
222 222
    assert(pic->type==FF_BUFFER_TYPE_INTERNAL);
223
    assert(s->internal_buffer_count);
223 224

  
224 225
    for(i=0; i<s->internal_buffer_count; i++){ //just 3-5 checks so is not worth to optimize
225 226
        buf= &((InternalBuffer*)s->internal_buffer)[i];

Also available in: Unified diff