Revision f59d8ff8 libavformat/aiffenc.c

View differences:

libavformat/aiffenc.c
126 126

  
127 127
    if (!url_is_streamed(s->pb)) {
128 128
        /* File length */
129
        url_fseek(pb, aiff->form, SEEK_SET);
129
        avio_seek(pb, aiff->form, SEEK_SET);
130 130
        avio_wb32(pb, file_size - aiff->form - 4);
131 131

  
132 132
        /* Number of sample frames */
133
        url_fseek(pb, aiff->frames, SEEK_SET);
133
        avio_seek(pb, aiff->frames, SEEK_SET);
134 134
        avio_wb32(pb, (file_size-aiff->ssnd-12)/enc->block_align);
135 135

  
136 136
        /* Sound Data chunk size */
137
        url_fseek(pb, aiff->ssnd, SEEK_SET);
137
        avio_seek(pb, aiff->ssnd, SEEK_SET);
138 138
        avio_wb32(pb, file_size - aiff->ssnd - 4);
139 139

  
140 140
        /* return to the end */
141
        url_fseek(pb, end_size, SEEK_SET);
141
        avio_seek(pb, end_size, SEEK_SET);
142 142

  
143 143
        put_flush_packet(pb);
144 144
    }

Also available in: Unified diff