Revision 384c9c2f libavformat/flacenc.c

View differences:

libavformat/flacenc.c
100 100

  
101 101
    if (!url_is_streamed(pb)) {
102 102
        /* rewrite the STREAMINFO header block data */
103
        file_size = url_ftell(pb);
103
        file_size = avio_tell(pb);
104 104
        avio_seek(pb, 8, SEEK_SET);
105 105
        avio_write(pb, streaminfo, FLAC_STREAMINFO_SIZE);
106 106
        avio_seek(pb, file_size, SEEK_SET);

Also available in: Unified diff