Revision f59d8ff8 libavformat/mpc8.c

View differences:

libavformat/mpc8.c
135 135
    int i, t, seekd;
136 136
    GetBitContext gb;
137 137

  
138
    url_fseek(s->pb, off, SEEK_SET);
138
    avio_seek(s->pb, off, SEEK_SET);
139 139
    mpc8_get_chunk_header(s->pb, &tag, &size);
140 140
    if(tag != TAG_SEEKTABLE){
141 141
        av_log(s, AV_LOG_ERROR, "No seek table at given position\n");
......
179 179
        pos = url_ftell(pb) + size;
180 180
        off = ff_get_v(pb);
181 181
        mpc8_parse_seektable(s, chunk_pos + off);
182
        url_fseek(pb, pos, SEEK_SET);
182
        avio_seek(pb, pos, SEEK_SET);
183 183
        break;
184 184
    default:
185 185
        url_fskip(pb, size);
......
273 273
    int index = av_index_search_timestamp(st, timestamp, flags);
274 274

  
275 275
    if(index < 0) return -1;
276
    url_fseek(s->pb, st->index_entries[index].pos, SEEK_SET);
276
    avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET);
277 277
    c->frame = st->index_entries[index].timestamp;
278 278
    return 0;
279 279
}

Also available in: Unified diff