Revision e731b8d8 libavformat/mmst.c

View differences:

libavformat/mmst.c
31 31
#include "avformat.h"
32 32
#include "mms.h"
33 33
#include "internal.h"
34
#include "avio_internal.h"
34 35
#include "libavutil/intreadwrite.h"
35 36
#include "libavcodec/bytestream.h"
36 37
#include "network.h"
......
155 156
    AVIOContext bic;
156 157
    int size = mms->write_out_ptr - mms->out_buffer;
157 158
    int len;
158
    init_put_byte(&bic, mms->write_out_ptr,
159
    ffio_init_context(&bic, mms->write_out_ptr,
159 160
            sizeof(mms->out_buffer) - size, 1, NULL, NULL, NULL, NULL);
160 161

  
161 162
    len = avio_put_str16le(&bic, src);

Also available in: Unified diff