Revision 8d5e638f

View differences:

libavformat/aviobuf.c
156 156
        while(s->pos < offset && !s->eof_reached)
157 157
            fill_buffer(s);
158 158
        if (s->eof_reached)
159
            return AVERROR(EPIPE);
159
            return AVERROR_EOF;
160 160
        s->buf_ptr = s->buf_end + offset - s->pos;
161 161
    } else {
162 162
        int64_t res = AVERROR(EPIPE);

Also available in: Unified diff