Revision a2704c97 libavformat/movenchint.c

View differences:

libavformat/movenchint.c
316 316
    int64_t count_pos, entries_pos;
317 317
    int count = 0, entries;
318 318

  
319
    count_pos = url_ftell(out);
319
    count_pos = avio_tell(out);
320 320
    /* RTPsample header */
321 321
    avio_wb16(out, 0); /* packet count */
322 322
    avio_wb16(out, 0); /* reserved */
......
358 358
        avio_write(out, data, 2); /* RTP header */
359 359
        avio_wb16(out, seq); /* RTPsequenceseed */
360 360
        avio_wb16(out, 0); /* reserved + flags */
361
        entries_pos = url_ftell(out);
361
        entries_pos = avio_tell(out);
362 362
        avio_wb16(out, 0); /* entry count */
363 363

  
364 364
        data += 12;
......
371 371
        data += packet_len;
372 372
        size -= packet_len;
373 373

  
374
        curpos = url_ftell(out);
374
        curpos = avio_tell(out);
375 375
        avio_seek(out, entries_pos, SEEK_SET);
376 376
        avio_wb16(out, entries);
377 377
        avio_seek(out, curpos, SEEK_SET);
378 378
    }
379 379

  
380
    curpos = url_ftell(out);
380
    curpos = avio_tell(out);
381 381
    avio_seek(out, count_pos, SEEK_SET);
382 382
    avio_wb16(out, count);
383 383
    avio_seek(out, curpos, SEEK_SET);

Also available in: Unified diff