Revision f59d8ff8 libavformat/oggdec.c

View differences:

libavformat/oggdec.c
97 97
        for (i = 0; i < ogg->nstreams; i++)
98 98
            av_free (ogg->streams[i].buf);
99 99

  
100
        url_fseek (bc, ost->pos, SEEK_SET);
100
        avio_seek (bc, ost->pos, SEEK_SET);
101 101
        ogg->curidx = ost->curidx;
102 102
        ogg->nstreams = ost->nstreams;
103 103
        memcpy(ogg->streams, ost->streams,
......
468 468
    end = size > MAX_PAGE_SIZE? size - MAX_PAGE_SIZE: 0;
469 469

  
470 470
    ogg_save (s);
471
    url_fseek (s->pb, end, SEEK_SET);
471
    avio_seek (s->pb, end, SEEK_SET);
472 472

  
473 473
    while (!ogg_read_page (s, &i)){
474 474
        if (ogg->streams[i].granule != -1 && ogg->streams[i].granule != 0 &&
......
604 604
    AVIOContext *bc = s->pb;
605 605
    int64_t pts = AV_NOPTS_VALUE;
606 606
    int i;
607
    url_fseek(bc, *pos_arg, SEEK_SET);
607
    avio_seek(bc, *pos_arg, SEEK_SET);
608 608
    ogg_reset(ogg);
609 609

  
610 610
    while (url_ftell(bc) < pos_limit && !ogg_packet(s, &i, NULL, NULL, pos_arg)) {

Also available in: Unified diff