Revision 5f097703 libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
280 280
        /* do not modify buffer if EOF reached so that a seek back can
281 281
           be done without rereading data */
282 282
        s->eof_reached = 1;
283
    if(len<0)
284
        s->error= len;
283
        if(len<0)
284
            s->error= len;
285 285
    } else {
286 286
        s->pos += len;
287 287
        s->buf_ptr = s->buffer;

Also available in: Unified diff