Revision 0ac8e2bf libavformat/aviobuf.c

View differences:

libavformat/aviobuf.c
141 141
        flush_buffer(s);
142 142
}
143 143

  
144
void put_nbyte(AVIOContext *s, int b, int count)
144
void ffio_fill(AVIOContext *s, int b, int count)
145 145
{
146 146
    while (count > 0) {
147 147
        int len = FFMIN(s->buf_end - s->buf_ptr, count);
......
352 352
{
353 353
    avio_write(s, buf, size);
354 354
}
355
void put_nbyte(AVIOContext *s, int b, int count)
356
{
357
    ffio_fill(s, b, count);
358
}
355 359
#endif
356 360

  
357 361
int avio_put_str(AVIOContext *s, const char *str)

Also available in: Unified diff