Revision 4c4ef3db

View differences:

libavformat/aviobuf.c
197 197
        return AVERROR(EINVAL);
198 198

  
199 199
    if (!s->seek)
200
        return AVERROR(EPIPE);
200
        return AVERROR(ENOSYS);
201 201
    size = s->seek(s->opaque, 0, AVSEEK_SIZE);
202 202
    if(size<0){
203 203
        if ((size = s->seek(s->opaque, -1, SEEK_END)) < 0)

Also available in: Unified diff