Revision ae99313a libavformat/rdt.c

View differences:

libavformat/rdt.c
33 33
#include "libavutil/md5.h"
34 34
#include "rm.h"
35 35
#include "internal.h"
36
#include "avio_internal.h"
36 37
#include "libavcodec/get_bits.h"
37 38

  
38 39
struct RDTDemuxContext {
......
150 151
     */
151 152
    if (!rdt->mlti_data)
152 153
        return -1;
153
    init_put_byte(&pb, rdt->mlti_data, rdt->mlti_data_size, 0,
154
    ffio_init_context(&pb, rdt->mlti_data, rdt->mlti_data_size, 0,
154 155
                  NULL, NULL, NULL, NULL);
155 156
    tag = get_le32(&pb);
156 157
    if (tag == MKTAG('M', 'L', 'T', 'I')) {
......
300 301
    if (rdt->audio_pkt_cnt == 0) {
301 302
        int pos;
302 303

  
303
        init_put_byte(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
304
        ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
304 305
        flags = (flags & RTP_FLAG_KEY) ? 2 : 0;
305 306
        res = ff_rm_parse_packet (rdt->rmctx, &pb, st, rdt->rmst[st->index], len, pkt,
306 307
                                  &seq, flags, *timestamp);

Also available in: Unified diff