Revision 90ed2776 libavformat/rdt.c

View differences:

libavformat/rdt.c
311 311
        if (res > 0) {
312 312
            if (st->codec->codec_id == CODEC_ID_AAC) {
313 313
                memcpy (rdt->buffer, buf + pos, len - pos);
314
                rdt->rmctx->pb = av_alloc_put_byte (rdt->buffer, len - pos, 0,
314
                rdt->rmctx->pb = avio_alloc_context (rdt->buffer, len - pos, 0,
315 315
                                                    NULL, NULL, NULL, NULL);
316 316
            }
317 317
            goto get_cache;

Also available in: Unified diff