Revision a2704c97 libavformat/ffmenc.c

View differences:

libavformat/ffmenc.c
32 32
    fill_size = ffm->packet_end - ffm->packet_ptr;
33 33
    memset(ffm->packet_ptr, 0, fill_size);
34 34

  
35
    if (url_ftell(pb) % ffm->packet_size)
35
    if (avio_tell(pb) % ffm->packet_size)
36 36
        av_abort();
37 37

  
38 38
    /* put header */
......
184 184
    }
185 185

  
186 186
    /* flush until end of block reached */
187
    while ((url_ftell(pb) % ffm->packet_size) != 0)
187
    while ((avio_tell(pb) % ffm->packet_size) != 0)
188 188
        avio_w8(pb, 0);
189 189

  
190 190
    put_flush_packet(pb);

Also available in: Unified diff