Revision f59d8ff8 libavformat/avienc.c

View differences:

libavformat/avienc.c
130 130

  
131 131
        assert(avist->frames_hdr_strm);
132 132
        stream = s->streams[n]->codec;
133
        url_fseek(pb, avist->frames_hdr_strm, SEEK_SET);
133
        avio_seek(pb, avist->frames_hdr_strm, SEEK_SET);
134 134
        ff_parse_specific_params(stream, &au_byterate, &au_ssize, &au_scale);
135 135
        if(au_ssize == 0) {
136 136
            avio_wl32(pb, avist->packet_count);
......
142 142
    }
143 143
    if(riff_id == 1) {
144 144
        assert(avi->frames_hdr_all);
145
        url_fseek(pb, avi->frames_hdr_all, SEEK_SET);
145
        avio_seek(pb, avi->frames_hdr_all, SEEK_SET);
146 146
        avio_wl32(pb, nb_frames);
147 147
    }
148
    url_fseek(pb, file_size, SEEK_SET);
148
    avio_seek(pb, file_size, SEEK_SET);
149 149

  
150 150
    return 0;
151 151
}
......
442 442
         pos = url_ftell(pb);
443 443

  
444 444
         /* Updating one entry in the AVI OpenDML master index */
445
         url_fseek(pb, avist->indexes.indx_start - 8, SEEK_SET);
445
         avio_seek(pb, avist->indexes.indx_start - 8, SEEK_SET);
446 446
         ffio_wfourcc(pb, "indx");            /* enabling this entry */
447 447
         url_fskip(pb, 8);
448 448
         avio_wl32(pb, avi->riff_id);         /* nEntriesInUse */
......
451 451
         avio_wl32(pb, pos - ix);             /* dwSize */
452 452
         avio_wl32(pb, avist->indexes.entry); /* dwDuration */
453 453

  
454
         url_fseek(pb, pos, SEEK_SET);
454
         avio_seek(pb, pos, SEEK_SET);
455 455
    }
456 456
    return 0;
457 457
}
......
601 601
            ff_end_tag(pb, avi->riff_start);
602 602

  
603 603
            file_size = url_ftell(pb);
604
            url_fseek(pb, avi->odml_list - 8, SEEK_SET);
604
            avio_seek(pb, avi->odml_list - 8, SEEK_SET);
605 605
            ffio_wfourcc(pb, "LIST"); /* Making this AVI OpenDML one */
606 606
            url_fskip(pb, 16);
607 607

  
......
619 619
                }
620 620
            }
621 621
            avio_wl32(pb, nb_frames);
622
            url_fseek(pb, file_size, SEEK_SET);
622
            avio_seek(pb, file_size, SEEK_SET);
623 623

  
624 624
            avi_write_counters(s, avi->riff_id);
625 625
        }

Also available in: Unified diff