Revision a2704c97 libavformat/riff.c

View differences:

libavformat/riff.c
324 324
{
325 325
    ffio_wfourcc(pb, tag);
326 326
    avio_wl32(pb, 0);
327
    return url_ftell(pb);
327
    return avio_tell(pb);
328 328
}
329 329

  
330 330
void ff_end_tag(AVIOContext *pb, int64_t start)
331 331
{
332 332
    int64_t pos;
333 333

  
334
    pos = url_ftell(pb);
334
    pos = avio_tell(pb);
335 335
    avio_seek(pb, start - 4, SEEK_SET);
336 336
    avio_wl32(pb, (uint32_t)(pos - start));
337 337
    avio_seek(pb, pos, SEEK_SET);

Also available in: Unified diff