Revision f59d8ff8 libavformat/dv.c

View differences:

libavformat/dv.c
419 419
        if (state == 0x003f0700 || state == 0xff3f0700)
420 420
            marker_pos = url_ftell(s->pb);
421 421
        if (state == 0xff3f0701 && url_ftell(s->pb) - marker_pos == 80) {
422
            url_fseek(s->pb, -163, SEEK_CUR);
422
            avio_seek(s->pb, -163, SEEK_CUR);
423 423
            state = avio_rb32(s->pb);
424 424
            break;
425 425
        }
......
428 428
    AV_WB32(c->buf, state);
429 429

  
430 430
    if (avio_read(s->pb, c->buf + 4, DV_PROFILE_BYTES - 4) <= 0 ||
431
        url_fseek(s->pb, -DV_PROFILE_BYTES, SEEK_CUR) < 0)
431
        avio_seek(s->pb, -DV_PROFILE_BYTES, SEEK_CUR) < 0)
432 432
        return AVERROR(EIO);
433 433

  
434 434
    c->dv_demux->sys = ff_dv_frame_profile(c->dv_demux->sys, c->buf, DV_PROFILE_BYTES);
......
473 473

  
474 474
    dv_offset_reset(c, offset / c->sys->frame_size);
475 475

  
476
    offset = url_fseek(s->pb, offset, SEEK_SET);
476
    offset = avio_seek(s->pb, offset, SEEK_SET);
477 477
    return (offset < 0) ? offset : 0;
478 478
}
479 479

  

Also available in: Unified diff