Revision 4497712f libavutil/fifo.c

View differences:

libavutil/fifo.c
26 26
{
27 27
    f->wptr = f->rptr =
28 28
    f->buffer = av_malloc(size);
29
    f->end = f->buffer + size;
29 30
    if (!f->buffer)
30 31
        return -1;
31
    f->end = f->buffer + size;
32 32
    return 0;
33 33
}
34 34

  

Also available in: Unified diff