Revision ff1ec0c3 libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
403 403
}
404 404
int av_url_read_fpause(AVIOContext *s, int pause)
405 405
{
406
    return ffio_read_pause(s, pause);
406
    return avio_pause(s, pause);
407 407
}
408 408
int64_t av_url_read_fseek(AVIOContext *s, int stream_index,
409 409
                         int64_t timestamp, int flags)
410 410
{
411
    return ffio_read_seek(s, stream_index, timestamp, flags);
411
    return avio_seek_time(s, stream_index, timestamp, flags);
412 412
}
413 413
void init_checksum(AVIOContext *s,
414 414
                   unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len),
......
1013 1013
}
1014 1014
#endif
1015 1015

  
1016
int ffio_read_pause(AVIOContext *s, int pause)
1016
int avio_pause(AVIOContext *s, int pause)
1017 1017
{
1018 1018
    if (!s->read_pause)
1019 1019
        return AVERROR(ENOSYS);
1020 1020
    return s->read_pause(s->opaque, pause);
1021 1021
}
1022 1022

  
1023
int64_t ffio_read_seek(AVIOContext *s, int stream_index,
1023
int64_t avio_seek_time(AVIOContext *s, int stream_index,
1024 1024
                       int64_t timestamp, int flags)
1025 1025
{
1026 1026
    URLContext *h = s->opaque;

Also available in: Unified diff