Revision f59d8ff8 libavformat/rmdec.c

View differences:

libavformat/rmdec.c
363 363

  
364 364
skip:
365 365
        if (next_off && url_ftell(pb) != next_off &&
366
            url_fseek(pb, next_off, SEEK_SET) < 0)
366
            avio_seek(pb, next_off, SEEK_SET) < 0)
367 367
            return -1;
368 368
    } while (next_off);
369 369

  
......
482 482
    if (!data_off)
483 483
        data_off = url_ftell(pb) - 18;
484 484
    if (indx_off && !url_is_streamed(pb) && !(s->flags & AVFMT_FLAG_IGNIDX) &&
485
        url_fseek(pb, indx_off, SEEK_SET) >= 0) {
485
        avio_seek(pb, indx_off, SEEK_SET) >= 0) {
486 486
        rm_read_index(s);
487
        url_fseek(pb, data_off + 18, SEEK_SET);
487
        avio_seek(pb, data_off + 18, SEEK_SET);
488 488
    }
489 489

  
490 490
    return 0;
......
904 904
    if(rm->old_format)
905 905
        return AV_NOPTS_VALUE;
906 906

  
907
    url_fseek(s->pb, pos, SEEK_SET);
907
    avio_seek(s->pb, pos, SEEK_SET);
908 908
    rm->remaining_len=0;
909 909
    for(;;){
910 910
        int seq=1;

Also available in: Unified diff