Revision 6e89b612 libavformat/mmst.c

View differences:

libavformat/mmst.c
34 34
#include "libavutil/intreadwrite.h"
35 35
#include "libavcodec/bytestream.h"
36 36
#include "network.h"
37
#include "asf.h"
38 37

  
39 38
#define LOCAL_ADDRESS 0xc0a80081    // FIXME get and use correct local ip address.
40 39
#define LOCAL_PORT    1037          // as above.
......
159 158
    init_put_byte(&bic, mms->write_out_ptr,
160 159
            sizeof(mms->out_buffer) - size, 1, NULL, NULL, NULL, NULL);
161 160

  
162
    len = ff_put_str16_nolen(&bic, src);
161
    len = avio_put_str16le(&bic, src);
163 162
    mms->write_out_ptr += len;
164 163
}
165 164

  

Also available in: Unified diff