Revision ff1ec0c3 libavformat/flvdec.c

View differences:

libavformat/flvdec.c
529 529
static int flv_read_seek(AVFormatContext *s, int stream_index,
530 530
    int64_t ts, int flags)
531 531
{
532
    return ffio_read_seek(s->pb, stream_index, ts, flags);
532
    return avio_seek_time(s->pb, stream_index, ts, flags);
533 533
}
534 534

  
535 535
#if 0 /* don't know enough to implement this */
......
550 550
            ts = av_rescale_rnd(ts, 1000, AV_TIME_BASE,
551 551
                flags & AVSEEK_FLAG_BACKWARD ? AV_ROUND_DOWN : AV_ROUND_UP);
552 552
        }
553
        ret = ffio_read_seek(s->pb, stream_index, ts, flags);
553
        ret = avio_seek_time(s->pb, stream_index, ts, flags);
554 554
    }
555 555

  
556 556
    if (ret == AVERROR(ENOSYS))

Also available in: Unified diff