Revision f59d8ff8 libavformat/rmenc.c

View differences:

libavformat/rmenc.c
436 436

  
437 437
    if (!url_is_streamed(s->pb)) {
438 438
        /* end of file: finish to write header */
439
        index_pos = url_fseek(pb, 0, SEEK_CUR);
439
        index_pos = avio_seek(pb, 0, SEEK_CUR);
440 440
        data_size = index_pos - rm->data_pos;
441 441

  
442 442
        /* FIXME: write index */
......
445 445
        avio_wb32(pb, 0);
446 446
        avio_wb32(pb, 0);
447 447

  
448
        url_fseek(pb, 0, SEEK_SET);
448
        avio_seek(pb, 0, SEEK_SET);
449 449
        for(i=0;i<s->nb_streams;i++)
450 450
            rm->streams[i].total_frames = rm->streams[i].nb_frames;
451 451
        rv10_write_header(s, data_size, 0);

Also available in: Unified diff