Revision e731b8d8 libavformat/mpegts.c

View differences:

libavformat/mpegts.c
29 29
#include "avformat.h"
30 30
#include "mpegts.h"
31 31
#include "internal.h"
32
#include "avio_internal.h"
32 33
#include "seek.h"
33 34
#include "mpeg.h"
34 35
#include "isom.h"
......
855 856
    int tag;
856 857
    unsigned len;
857 858

  
858
    init_put_byte(&pb, buf, size, 0, NULL, NULL, NULL, NULL);
859
    ffio_init_context(&pb, buf, size, 0, NULL, NULL, NULL, NULL);
859 860

  
860 861
    len = ff_mp4_read_descr(s, &pb, &tag);
861 862
    if (tag == MP4IODescrTag) {
......
914 915
        if (st->codec->codec_id == CODEC_ID_AAC_LATM &&
915 916
            mp4_dec_config_descr_len && mp4_es_id == pid) {
916 917
            AVIOContext pb;
917
            init_put_byte(&pb, mp4_dec_config_descr,
918
            ffio_init_context(&pb, mp4_dec_config_descr,
918 919
                          mp4_dec_config_descr_len, 0, NULL, NULL, NULL, NULL);
919 920
            ff_mp4_read_dec_config_descr(fc, st, &pb);
920 921
            if (st->codec->codec_id == CODEC_ID_AAC &&

Also available in: Unified diff